Browse Source

Issue #9

pull/40/head
Savetheinternet 14 years ago
parent
commit
1e20121224
  1. 1
      inc/config.php
  2. 3
      post.php

1
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/');

3
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']);

Loading…
Cancel
Save