1 --- cpg145/install.php 2006-05-01 13:05:17.582794094 +0300
2 +++ cpg145/install.php 2006-05-01 13:29:35.775346224 +0300
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'])) {
17 } else { // The installer