Ignore:
Timestamp:
Jul 9, 2008, 10:59:24 PM (16 years ago)
Author:
plg
Message:

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
  • branches/branch-1_7/admin/thumbnail.php

    r2202 r2427  
    156156$pictures = array();
    157157$stats = array();
     158
     159if (!function_exists('gd_info'))
     160{
     161  array_push($page['errors'], l10n('GD library is missing'));
     162}
     163
    158164// +-----------------------------------------------------------------------+
    159165// |                       template initialization                         |
Note: See TracChangeset for help on using the changeset viewer.