SOURCES: coppermine-gallery-pld.patch - updated to 1.4.14

gotar gotar at pld-linux.org
Tue Nov 13 00:00:32 CET 2007


Author: gotar                        Date: Mon Nov 12 23:00:32 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 1.4.14

---- Files affected:
SOURCES:
   coppermine-gallery-pld.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/coppermine-gallery-pld.patch
diff -u SOURCES/coppermine-gallery-pld.patch:1.2 SOURCES/coppermine-gallery-pld.patch:1.3
--- SOURCES/coppermine-gallery-pld.patch:1.2	Fri Jan 26 14:15:08 2007
+++ SOURCES/coppermine-gallery-pld.patch	Tue Nov 13 00:00:27 2007
@@ -21,7 +21,7 @@
            <td width="40%" class="tableb"><b>MySQL table prefix</b><br />(default value is OK; do not use dots!)
            </td>
            <td width="60%" class="tableb" valign="top">
--                  <input type="text" class="textinput" name="table_prefix" value="<?php echo ($_POST['table_prefix'] ? $_POST['table_prefix'] : 'cpg1410_') ?>" />
+-                  <input type="text" class="textinput" name="table_prefix" value="<?php echo ($_POST['table_prefix'] ? $_POST['table_prefix'] : 'cpg14x_') ?>" />
 +                  <input type="text" class="textinput" name="table_prefix" value="<?php echo ($_POST['table_prefix'] ? $_POST['table_prefix'] : '') ?>" />
            </td>
           </tr>
@@ -60,9 +60,9 @@
  // Include config and functions files
 -if(file_exists('include/config.inc.php')){
 +if (file_exists('/etc/webapps/coppermine-gallery/config.inc.php') and filesize('/etc/webapps/coppermine-gallery/config.inc.php') > 0) {
-         ob_start();
--        require_once 'include/config.inc.php';
-+	require_once '/etc/webapps/coppermine-gallery/config.inc.php';
-         ob_clean();
+                 ob_start();
+-                require_once 'include/config.inc.php';
++                require_once '/etc/webapps/coppermine-gallery/config.inc.php';
+                 ob_clean();
  } else {
    // error handling: if the config file doesn't exist go to install
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/coppermine-gallery-pld.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list