src/diacronos/Lilo/Lilo.php
/**
	 * Get a relative path from an absolute path.
	 * @access  private
	 * @param   string  $absFilename	file to match
	 * @param   array   $filePaths		relative paths to match
	 * @return 	string|false
	 * @throws \Exception if a relative path doesn't exists
	 */
Get a relative path from an absolute path.
Get a relative path from an absolute path .
private function _tryFiles($absFilename, $filePaths)
	{
		foreach ($filePaths as $filePath) {
			$absFilePath = $this->_fs->expand($filePath);
			if (strcmp($absFilePath, $absFilename) == 0) {
				return $filePath;
			}
		}
		return false;
	}
private function _tryFiles ( $ absFilename , $ filePaths ) { foreach ( $ filePaths as $ filePath ) { $ absFilePath = $ this -> _fs -> expand ( $ filePath ) ; if ( strcmp ( $ absFilePath , $ absFilename ) == 0 ) { return $ filePath ; } } return false ; }
Get a relative path from an absolute path.
Get a relative path from an absolute path .