Ignore:
Timestamp:
Jul 9, 2008, 11:08:32 PM (16 years ago)
Author:
plg
Message:

merge -c2427 from branch 1.7 to trunk

bug 802 fixed: if GD library is not available, display an explicit error,
even before trying to generated any thumbnail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/thumbnail.php

    r2299 r2428  
    152152$pictures = array();
    153153$stats = array();
     154
     155if (!function_exists('gd_info'))
     156{
     157  array_push($page['errors'], l10n('GD library is missing'));
     158}
     159
    154160// +-----------------------------------------------------------------------+
    155161// |                       template initialization                         |
Note: See TracChangeset for help on using the changeset viewer.