mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fix bug 428: blank page when gd extension missing
svn merge -r1377:1378 from branch 1.6 into trunk git-svn-id: http://piwigo.org/svn/trunk@1379 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -40,6 +40,11 @@ function RatioResizeImg($path, $newWidth, $newHeight, $tn_ext)
|
||||
{
|
||||
global $conf, $lang, $page;
|
||||
|
||||
if (!function_exists('gd_info'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$filename = basename($path);
|
||||
$dirname = dirname($path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user