Changeset 10713 for trunk/admin
- Timestamp:
- May 1, 2011, 12:10:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/image.class.php
r10686 r10713 407 407 $this->imagickdir = $imagickdir; 408 408 409 $command = $imagickdir. "identify -verbose ".realpath($source_filepath);409 $command = $imagickdir.'identify -verbose "'.realpath($source_filepath).'"'; 410 410 @exec($command, $returnarray, $returnvalue); 411 411 if($returnvalue) … … 477 477 { 478 478 $exec = $this->imagickdir.'convert'; 479 $exec .= ' '.realpath($this->source_filepath);479 $exec .= ' "'.realpath($this->source_filepath).'"'; 480 480 481 481 foreach ($this->commands as $command => $params) … … 489 489 490 490 $dest = pathinfo($destination_filepath); 491 $exec .= ' '.realpath($dest['dirname']).'/'.$dest['basename'];491 $exec .= ' "'.realpath($dest['dirname']).'/'.$dest['basename'].'"'; 492 492 @exec($exec, $returnarray, $returnvalue); 493 493 return !$returnvalue;
Note: See TracChangeset
for help on using the changeset viewer.