references:joomla.framework:filesystem:jpath-getpermissionsTable of Contents
getPermissions
Get the permissions of the file or folder on a given path. Syntaxstring getPermissions ( $path )
ExamplesExample jimport( 'joomla.filesystem.path' ); echo "File permissions: " . JPath::getPermissions( JPATH_ROOT . '/robots.txt' ); might produce: Result File permissions: rw-rw-rw-
Discussion |


