Ignore:
Timestamp:
Jun 27, 2012, 6:20:29 AM (12 years ago)
Author:
rvelices
Message:

correctly log errors when external imagick fails (merge from trunk)

File:
1 edited

Legend:

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

    r15583 r16077  
    623623
    624624    $dest = pathinfo($destination_filepath);
    625     $exec .= ' "'.realpath($dest['dirname']).'/'.$dest['basename'].'"';
     625    $exec .= ' "'.realpath($dest['dirname']).'/'.$dest['basename'].'" 2>&1';
    626626    @exec($exec, $returnarray);
    627627
     
    630630    {
    631631      ilog('ERROR', $returnarray);
     632      foreach($returnarray as $line)
     633        trigger_error($line, E_USER_WARNING);
    632634    }
    633635    return is_array($returnarray);
Note: See TracChangeset for help on using the changeset viewer.