Ticket #20069: 20069.2.diff
| File 20069.2.diff, 605 bytes (added by , 12 years ago) |
|---|
-
src/wp-admin/includes/file.php
802 802 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 . WPINC ) & 0777 ) | 0640 ); 806 806 if ( ! defined('FS_CHMOD_FILE') ) 807 define('FS_CHMOD_FILE', 0644);807 define('FS_CHMOD_FILE', ( fileperms( ABSPATH . 'wp-load.php' ) & 0777 ) | 0640 ); 808 808 809 809 return true; 810 810 }