Changeset 315


Ignore:
Timestamp:
Feb 5, 2008 1:42:30 AM (16 years ago)
Author:
quinn
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ImageThumb.inc.php

    r313 r315  
    624624            // Success!
    625625            // Make the thumbnail writable so the user can delete it over ftp without being 'apache'.
    626             if (!chmod($dest_file, $this->getParam('dest_file_perms'))) {
    627                 $app->logMsg(sprintf('chmod failed on file: %s', $dest_file), LOG_NOTICE, __FILE__, __LINE__);
    628             }
     626            chmod($dest_file, $this->getParam('dest_file_perms'));
    629627            $app->logMsg(sprintf('Successfully resized image: %s', $dest_file), LOG_DEBUG, __FILE__, __LINE__);
    630628            return 0;
Note: See TracChangeset for help on using the changeset viewer.