string getPath(
string
$filePath, [string
$file = ''])
|
|
Returns path for a file, depending on projects
FIXME: it should be simpler to pass only a filename or directory, and let the caller do a dirname() or basename() from the result.
If file exists in current project, path to project file name is returned. Otherwise, default file is returned.
Tags:
Parameters: