Ignore:
Timestamp:
03/26/11 11:03:05 (9 years ago)
Author:
patdenice
Message:

Change command line order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/external_ImageMagick/branch/2.1/imagick.class.php

    r9857 r9858  
    131131 
    132132    $exec = $this->imagemagickdir.'convert'; 
     133    $exec .= ' '.realpath($this->source_path); 
    133134 
    134135    foreach ($this->commands as $command => $params) 
     
    141142    } 
    142143 
    143     $exec .= ' '.realpath($this->source_path); 
    144144    $exec .= ' '.realpath($this->tmp_path); 
    145145    @exec($exec, $returnarray, $returnvalue); 
    146146    @rename($this->tmp_path, $destination_filepath); 
     147    @chmod($destination_filepath, 0644); 
     148     
    147149  } 
    148150 
Note: See TracChangeset for help on using the changeset viewer.