summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers/file_helper.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-05-04 13:25:13 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-05-04 13:25:13 +0200
commit4ae32254fe4effa34c42e1f38708cb7a43db9ed8 (patch)
treeb3affa3525c178e0df994a2e9eebdfb3f082f118 /user_guide/helpers/file_helper.html
parent2c25fd0fb075090257e69440c94ef6fddd6f02f2 (diff)
typo fix
Diffstat (limited to 'user_guide/helpers/file_helper.html')
-rw-r--r--user_guide/helpers/file_helper.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/helpers/file_helper.html b/user_guide/helpers/file_helper.html
index f5e318c52..b1df4a48d 100644
--- a/user_guide/helpers/file_helper.html
+++ b/user_guide/helpers/file_helper.html
@@ -120,11 +120,11 @@ CodeIgniter uses a front controller so paths are always relative to the main sit
<h2>delete_files('<var>path</var>')</h2>
<p>Deletes ALL files contained in the supplied path. Example:</p>
-<code>delete_files('/path/to/directory/');</code>
+<code>delete_files('./path/to/directory/');</code>
<p>If the second parameter is set to <kbd>true</kbd>, any directories contained within the supplied root path will be deleted as well. Example:</p>
-<code>delete_files('/path/to/directory/', TRUE);</code>
+<code>delete_files('./path/to/directory/', TRUE);</code>
<p class="important"><strong>Note:</strong> The files must be writable or owned by the system in order to be deleted.</p>