Skip to content

Commit

Permalink
fix bug 428: blank page when gd extension missing
Browse files Browse the repository at this point in the history
svn merge -r1377:1378 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1379 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
nikrou committed Jun 22, 2006
1 parent a08cd1a commit 17d13ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions admin/thumbnail.php
Expand Up @@ -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);

Expand Down

0 comments on commit 17d13ce

Please sign in to comment.