summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-09-04 21:29:17 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-09-04 21:29:17 +0200
commite0fc57bffe1220b149b3f4f9ed800c8dd356bd57 (patch)
tree81171f1167de0836fda065ea9973a801c133102a /user_guide/helpers
parent0134ca4d6be32009c7fb7d40cfdbd31e19b970c3 (diff)
removed random invisible character (ASCII 194) from HTML and PHP files
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/path_helper.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/helpers/path_helper.html b/user_guide/helpers/path_helper.html
index 42f4713d6..78815a256 100644
--- a/user_guide/helpers/path_helper.html
+++ b/user_guide/helpers/path_helper.html
@@ -73,14 +73,14 @@ Path Helper
<p>Checks to see if the path exists. This function will return a server path without symbolic links or relative directory structures. An optional second argument will cause an error to be triggered if the path cannot be resolved.</p>
<code>$directory = './../../etc/passwd';<br />
-echo set_realpath($directory);<br />
+echo set_realpath($directory);<br />
// returns &quot;/etc/passwd&quot;<br />
<br />
$non_existent_directory = './../../path/not/found';<br />
-echo set_realpath($non_existent_directory, TRUE);<br />
+echo set_realpath($non_existent_directory, TRUE);<br />
// returns &quot;/path/not/found&quot;<br />
<br />
-echo set_realpath($non_existent_directory, FALSE);<br />
+echo set_realpath($non_existent_directory, FALSE);<br />
// returns an <strong>error</strong>, as the path could not be resolved</code>
<h2>&nbsp;</h2>
</div>