string resolvePath(
$path, string
$url)
|
|
Resolves //, ../ and ./ from a path and returns the result. Eg:
/foo/bar/../boo.php => /foo/boo.php /foo/bar/../../boo.php => /boo.php /foo/bar/.././/boo.php => /foo/boo.php
This method can also be called statically.
Tags:
Parameters: