Changeset 16147 for branches


Ignore:
Timestamp:
Jun 28, 2012, 8:47:34 PM (12 years ago)
Author:
mistic100
Message:

merge r16146 from trunk
check if ilog() exists before using it, allowing the use the class outer i.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/admin/include/image.class.php

    r16077 r16147  
    626626    @exec($exec, $returnarray);
    627627
    628     ilog($exec);
     628    if (function_exists('ilog')) ilog($exec);
    629629    if (is_array($returnarray) && (count($returnarray)>0) )
    630630    {
    631       ilog('ERROR', $returnarray);
     631      if (function_exists('ilog')) ilog('ERROR', $returnarray);
    632632      foreach($returnarray as $line)
    633633        trigger_error($line, E_USER_WARNING);
Note: See TracChangeset for help on using the changeset viewer.