changeset 24:8032690680c7

Oops, chmod() was still not using the imagePath setting. Durr. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jan 2011 23:24:28 +0200
parents 6f96cdfbbbac
children 83a16531bde5
files index.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Sat Jan 15 06:26:35 2011 +0200
+++ b/index.php	Sat Jan 15 23:24:28 2011 +0200
@@ -225,7 +225,7 @@
 
       imagepng($image, $imagePath.$filename);
       imagedestroy($image);
-      chmod($filename, 0644);
+      chmod($imagePath.$filename, 0644);
     }
   }