]> git.pld-linux.org Git - packages/coppermine-gallery.git/blob - coppermine-gallery-typo.patch
- migrate to apache 2.4
[packages/coppermine-gallery.git] / coppermine-gallery-typo.patch
1 --- cpg145/install.php  2006-05-01 13:05:17.582794094 +0300
2 +++ cpg145/install.php  2006-05-01 13:29:35.775346224 +0300
3 @@ -553,12 +555,12 @@
4      imagecolorallocate ($im, 255, 255, 255);
5      imagejpeg($im, "{$DFLT['alb_d']}/{$DFLT['upl_d']}/gd1.jpg");
6      header("Content-type: image/gif");
7 -    fpassthru(fopen('images/spacer.gif'));
8 +    fpassthru(fopen('images/spacer.gif', 'r'));
9  } elseif ($_GET['test_gd2']) { // GD2 test
10      $im = imagecreatetruecolor(1, 1);
11      imagejpeg($im, "{$DFLT['alb_d']}/{$DFLT['upl_d']}/gd2.jpg");
12      header("Content-type: image/gif");
13 -    fpassthru(fopen('images/spacer.gif'));
14 +    fpassthru(fopen('images/spacer.gif', 'r'));
15  } elseif ($_GET['phpinfo'] && !file_exists($DFLT['lck_f'])) {
16      phpinfo();
17  } else { // The installer
This page took 0.055669 seconds and 3 git commands to generate.