summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers/path_helper.rst
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2013-07-20 01:02:53 +0200
committerDerek Jones <derek.jones@ellislab.com>2013-07-20 01:02:53 +0200
commitb8c283a695c8074a57d8c3dfa00934312638931d (patch)
treebde2ff27f7fbfbeb8dd97cbec24e7e5d3c006aaf /user_guide_src/source/helpers/path_helper.rst
parentabbf518a5ec7c81bf928ced417b7670490f0f0d3 (diff)
Dropping unecessary php: directive to function definitions in user guide
Diffstat (limited to 'user_guide_src/source/helpers/path_helper.rst')
-rw-r--r--user_guide_src/source/helpers/path_helper.rst4
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