The function find_in_path()
returns the path of a particular function. This function is searched for in the "SPIP path".
It accepts 1 or 2 arguments:
- the name or relative path of a file (with its extension)
- optionally, the directory where it is stored.
$f = find_in_path("directory/file.ext");
$f = find_in_path("file.ext","directory");