]> git.pld-linux.org Git - packages/coppermine-gallery.git/commitdiff
- correct php syntax
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 1 May 2006 17:34:06 +0000 (17:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    coppermine-gallery-typo.patch -> 1.1

coppermine-gallery-typo.patch [new file with mode: 0644]

diff --git a/coppermine-gallery-typo.patch b/coppermine-gallery-typo.patch
new file mode 100644 (file)
index 0000000..1794320
--- /dev/null
@@ -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
This page took 0.073211 seconds and 4 git commands to generate.