original_string: public static function isAllowedAbsPath($path) {
  		if (self::isAbsPath($path) &&
  				self::validPathStr($path) &&
  				(self::isFirstPartOfStr($path, PATH_site)
  						||
  						($GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] && self::isFirstPartOfStr($path, $GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath']))
  				)
  		) {
  			return TRUE;
  		}
  	}
code: public static function isAllowedAbsPath($path) {
  		if (self::isAbsPath($path) &&
  				self::validPathStr($path) &&
  				(self::isFirstPartOfStr($path, PATH_site)
  						||
  						($GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] && self::isFirstPartOfStr($path, $GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath']))
  				)
  		) {
  			return TRUE;
  		}
  	}
code_tokens: public static function isAllowedAbsPath ( $ path ) { if ( self :: isAbsPath ( $ path ) && self :: validPathStr ( $ path ) && ( self :: isFirstPartOfStr ( $ path , PATH_site ) || ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'BE' ] [ 'lockRootPath' ] && self :: isFirstPartOfStr ( $ path , $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'BE' ] [ 'lockRootPath' ] ) ) ) ) { return TRUE ; } }
docstring: Returns TRUE if the path is absolute, without backpath '..' and within the PATH_site OR within the lockRootPath
  
  @param string $path File path to evaluate
  @return boolean
docstring_tokens: Returns TRUE if the path is absolute without backpath .. and within the PATH_site OR within the lockRootPath