Changeset 15575 for trunk/admin


Ignore:
Timestamp:
06/06/12 17:38:56 (8 years ago)
Author:
patdenice
Message:

bug:2647
External ImageMagick does not work anymore on 1and1 servers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/image.class.php

    r15551 r15575  
    510510    $this->imagickdir = $conf['ext_imagick_dir']; 
    511511 
     512    if (get_host() == 'kundenserver.de')  // 1and1 
     513    { 
     514      @putenv('MAGICK_THREAD_LIMIT=1'); 
     515    } 
     516 
    512517    $command = $this->imagickdir.'identify -format "%wx%h" "'.realpath($source_filepath).'"'; 
    513518    @exec($command, $returnarray); 
Note: See TracChangeset for help on using the changeset viewer.