references:joomla.framework:filesystem:jpath-isownerisOwner
This method determines if the current script owns the path. Syntaxboolean isOwner ( $path )
ExamplesExample jimport( 'joomla.filesystem.path' ); echo "Ownership: "; echo JPath::isOwner( JPATH_ROOT . '/robots.txt' ) ? 'true' : 'false'; might produce: Result Ownership: true Discussion |


