Ignore:
Timestamp:
Jun 6, 2012, 5:43:40 PM (8 years ago)
Author:
patdenice
Message:

merge r15575 from trunk to branch 23
bug:2647
External ImageMagick does not work anymore on 1and1 servers

File:
1 edited

Legend:

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

    r12757 r15576  
    421421    $this->imagickdir = $imagickdir;
    422422
     423    if (get_host() == 'kundenserver.de')  // 1and1
     424    {
     425      @putenv('MAGICK_THREAD_LIMIT=1');
     426    }
     427
    423428    $command = $imagickdir.'identify -format "%wx%h" "'.realpath($source_filepath).'"';
    424429    @exec($command, $returnarray);
Note: See TracChangeset for help on using the changeset viewer.