Ignore:
Timestamp:
Mar 26, 2011, 11:04:37 AM (13 years ago)
Author:
patdenice
Message:

Change command line order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/external_ImageMagick/trunk/imagick.class.php

    r9856 r9859  
    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);
    147148  }
    148149
Note: See TracChangeset for help on using the changeset viewer.