| 1 | <?php |
||
| 7 | class FsUtils |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Returns canonicalized absolute pathname. |
||
| 11 | * |
||
| 12 | * The difference between this and PHP's realpath() is that this will |
||
| 13 | * return the original path even if it doesn't exist. |
||
| 14 | * |
||
| 15 | * @param string $path |
||
| 16 | * The path being checked. |
||
| 17 | * |
||
| 18 | * @return string |
||
| 19 | * The canonicalized absolute pathname. |
||
| 20 | */ |
||
| 21 | public static function realpath($path) |
||
| 26 | } |
||
| 27 |