diff options
author | Rubén Calvo <rubencm@gmail.com> | 2018-07-30 13:58:52 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-09 18:47:50 +0200 |
commit | 688d022f421c584ea02fd554a3710b20cfd56de5 (patch) | |
tree | b216c8673e08f41f4c8db804302997d11ce57fe0 /phpBB/includes/functions_posting.php | |
parent | ab0dae600335eb66a31c951e27954accac208296 (diff) | |
download | forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar.gz forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar.bz2 forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar.xz forums-688d022f421c584ea02fd554a3710b20cfd56de5.zip |
[ticket/15738] Remove code related with safe_mode
PHPBB3-15738
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index e2ab717217..60ec54909c 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -613,12 +613,6 @@ function create_thumbnail($source, $destination, $mimetype) imagecopyresampled($new_image, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height); } - // If we are in safe mode create the destination file prior to using the gd functions to circumvent a PHP bug - if (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on') - { - @touch($destination); - } - switch ($type['format']) { case IMG_GIF: |