summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-03-12 15:49:55 +0100
committerTaufan Aditya <toopay@taufanaditya.com>2012-03-12 15:49:55 +0100
commit311b230cf32dda94102866e56e8dd1ef81b5685b (patch)
treeb3e4ea940ee1ea4ee928534422f9f722719d657c /user_guide_src
parent7164cda9ab8aea8fc26aad21dd78c9f06839dec7 (diff)
Doc
Diffstat (limited to 'user_guide_src')
-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 6efd93cc1..4a2252834 100644
--- a/user_guide_src/source/helpers/path_helper.rst
+++ b/user_guide_src/source/helpers/path_helper.rst
@@ -33,8 +33,8 @@ cannot be resolved.
$non_existent_file = '/path/to/non-exist-file.txt';
echo set_realpath($non_existent_file, TRUE); // returns an error, as the path could not be resolved
echo set_realpath($non_existent_file, FALSE); // returns "/path/to/non-exist-file.txt"
- $directory = '/etc/passwd';
- echo set_realpath($directory); // returns "/etc/passwd/"
+ $directory = '/etc/php5';
+ echo set_realpath($directory); // returns "/etc/php5/"
$non_existent_directory = '/path/to/nowhere';
echo set_realpath($non_existent_directory, TRUE); // returns an error, as the path could not be resolved
echo set_realpath($non_existent_directory, FALSE); // returns "/path/to/nowhere" \ No newline at end of file