summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/post.php b/post.php
index a974987a..94b80f8c 100644
--- a/post.php
+++ b/post.php
@@ -142,7 +142,8 @@
imagepng($image, $post['file'], 7);
break;
case 'gif':
- imagegif($image, $post['file']);
+ if(REDRAW_GIF)
+ imagegif($image, $post['file']);
break;
case 'bmp':
imagebmp($image, $post['file']);