Changeset 25469
- Timestamp:
- 09/17/2013 08:05:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r25347 r25469 803 803 // Set the permission constants if not already set. 804 804 if ( ! defined('FS_CHMOD_DIR') ) 805 define('FS_CHMOD_DIR', 0755);805 define('FS_CHMOD_DIR', ( fileperms( ABSPATH ) & 0777 | 0750 ) ); 806 806 if ( ! defined('FS_CHMOD_FILE') ) 807 define('FS_CHMOD_FILE', 0644);807 define('FS_CHMOD_FILE', ( fileperms( ABSPATH . 'index.php' ) & 0777 | 0640 ) ); 808 808 809 809 return true;
Note: See TracChangeset
for help on using the changeset viewer.