- Timestamp:
- 03/17/2014 08:16:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-direct.php
r26869 r27566 195 195 * 196 196 * @param string $file Path to the file. 197 * @return string Mode of the file (last 4digits).197 * @return string Mode of the file (last 3 digits). 198 198 */ 199 199 function getchmod($file) { 200 return substr( decoct(@fileperms($file)),3);200 return substr( decoct( @fileperms( $file ) ), -3 ); 201 201 } 202 202
Note: See TracChangeset
for help on using the changeset viewer.