diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-04 01:55:52 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-04 01:55:52 +1100 |
| commit | 1e201212242c758a4d797711388aa566542224f4 (patch) | |
| tree | 8e1ceb77ce0fc2e35c5a8d97072fb72027130117 | |
| parent | 200d8d9cf530e7d5bc8b0b7fd2f0f56321e5dabe (diff) | |
Issue #9
| -rw-r--r-- | inc/config.php | 1 | ||||
| -rw-r--r-- | post.php | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index 31009bab..54180153 100644 --- a/inc/config.php +++ b/inc/config.php @@ -60,6 +60,7 @@ define('REDRAW_IMAGE', true); // Redrawing configuration define('JPEG_QUALITY', 100); + define('REDRAW_GIF', false); define('DIR_IMG', 'src/'); @@ -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']);
|
