Commit 5af81c7d authored by BenC's avatar BenC

Taggle l'erreur

parent 276e5b29
......@@ -462,7 +462,8 @@ class galaxy
$img2 = imagecreatetruecolor($this->width/100,$this->height/100);
imagecopyresampled($img2,$img,0,0,0,0,$this->width/100,$this->height/100,$this->width/50,$this->height/50);
imagepng($img2,$mini_target);
if(!is_writable("/var/www/ae/www/ae2/var/"))
imagepng($img2,$mini_target);
imagedestroy($img2);
imagedestroy($img);
}
......@@ -728,4 +729,4 @@ class galaxy
?>
\ No newline at end of file
?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment