====== isOwner ====== {#JAPI Joomla.Framework FileSystem JPath::isOwner #} This method determines if the current script owns the path. ===== Syntax ===== boolean isOwner ( **$path** ) | **$path** | string | is a string containing the path to check the ownership of. | ===== Examples ===== jimport( 'joomla.filesystem.path' ); echo "Ownership: "; echo JPath::isOwner( JPATH_ROOT . '/robots.txt' ) ? 'true' : 'false'; might produce: Ownership: true ---- ~~DISCUSSION~~