Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: functions_image.php 4054 2008-07-31 05:19:05Z Tikitiki $
| * $Id: functions_image.php 4304 2009-01-02 01:11:56Z chris $
|
*/
/**
| */
/**
|
Zeile 120 | Zeile 120 |
---|
@imagepng($thumbim, $path."/".$filename); break; }
|
@imagepng($thumbim, $path."/".$filename); break; }
|
@my_chmod($path."/".$filename, 0666);
| @my_chmod($path."/".$filename, '0666');
|
@imagedestroy($thumbim); $thumb['code'] = 1; $thumb['filename'] = $filename;
| @imagedestroy($thumbim); $thumb['code'] = 1; $thumb['filename'] = $filename;
|
Zeile 178 | Zeile 178 |
---|
if($thumbnail_memory > $free_memory) {
|
if($thumbnail_memory > $free_memory) {
|
@ini_set("memory_limit", $memory_limit+$thumbnail_memory);
| if($matches[1] && $matches[2]) { switch($matches[2]) { case "k": $memory_limit = (($memory_limit+$thumbnail_memory) / 1024)."K"; break; case "m": $memory_limit = (($memory_limit+$thumbnail_memory) / 1048576)."M"; break; case "g": $memory_limit = (($memory_limit+$thumbnail_memory) / 1073741824)."G"; } } @ini_set("memory_limit", $memory_limit);
|
} }
| } }
|