fix bug 428: blank page when gd extension missing

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1378 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou 2006-06-22 19:39:54 +00:00
parent c90c29e927
commit 2f077a3c97

View file

@ -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);