diff options
Diffstat (limited to 'user_guide_src/source/helpers/path_helper.rst')
-rw-r--r-- | user_guide_src/source/helpers/path_helper.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/path_helper.rst b/user_guide_src/source/helpers/path_helper.rst index 3a271b28f..863a5589e 100644 --- a/user_guide_src/source/helpers/path_helper.rst +++ b/user_guide_src/source/helpers/path_helper.rst @@ -19,7 +19,7 @@ The following functions are available: set_realpath() ============== -.. php:function:: set_realpath($path, $check_existance = FALSE) +.. function:: set_realpath($path, $check_existance = FALSE) :param string $path: Path :param bool $check_existance: Whether to check if the path actually exists @@ -40,7 +40,7 @@ Examples:: $directory = '/etc/php5'; echo set_realpath($directory); // Prints '/etc/php5/' - + $non_existent_directory = '/path/to/nowhere'; echo set_realpath($non_existent_directory, TRUE); // Shows an error, as the path cannot be resolved echo set_realpath($non_existent_directory, FALSE); // Prints '/path/to/nowhere'
\ No newline at end of file |