SOURCES: coppermine-gallery-typo.patch (NEW) - correct php syntax

glen glen at pld-linux.org
Mon May 1 19:34:11 CEST 2006


Author: glen                         Date: Mon May  1 17:34:11 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- correct php syntax

---- Files affected:
SOURCES:
   coppermine-gallery-typo.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/coppermine-gallery-typo.patch
diff -u /dev/null SOURCES/coppermine-gallery-typo.patch:1.1
--- /dev/null	Mon May  1 19:34:11 2006
+++ SOURCES/coppermine-gallery-typo.patch	Mon May  1 19:34:06 2006
@@ -0,0 +1,17 @@
+--- cpg145/install.php	2006-05-01 13:05:17.582794094 +0300
++++ cpg145/install.php	2006-05-01 13:29:35.775346224 +0300
+@@ -553,12 +555,12 @@
+     imagecolorallocate ($im, 255, 255, 255);
+     imagejpeg($im, "{$DFLT['alb_d']}/{$DFLT['upl_d']}/gd1.jpg");
+     header("Content-type: image/gif");
+-    fpassthru(fopen('images/spacer.gif'));
++    fpassthru(fopen('images/spacer.gif', 'r'));
+ } elseif ($_GET['test_gd2']) { // GD2 test
+     $im = imagecreatetruecolor(1, 1);
+     imagejpeg($im, "{$DFLT['alb_d']}/{$DFLT['upl_d']}/gd2.jpg");
+     header("Content-type: image/gif");
+-    fpassthru(fopen('images/spacer.gif'));
++    fpassthru(fopen('images/spacer.gif', 'r'));
+ } elseif ($_GET['phpinfo'] && !file_exists($DFLT['lck_f'])) {
+     phpinfo();
+ } else { // The installer
================================================================


More information about the pld-cvs-commit mailing list