Plugin Directory

Changeset 696504


Ignore:
Timestamp:
04/12/2013 09:51:39 AM (13 years ago)
Author:
ti2m
Message:

change permissions for uploaded OAM before extraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • edge-suite/trunk/includes/edge-suite-general.php

    r647784 r696504  
    100100      define('FS_CHMOD_FILE', 0644 );
    101101
     102
     103    if (!$filesystem->chmod($file, FS_CHMOD_FILE)){
     104      return new WP_Error('chmod_failed', __('Could not change permissions on archive.'));
     105    }
     106
    102107    $z = new ZipArchive();
    103108
Note: See TracChangeset for help on using the changeset viewer.