From 4ae32254fe4effa34c42e1f38708cb7a43db9ed8 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 4 May 2007 11:25:13 +0000 Subject: typo fix --- user_guide/helpers/file_helper.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/helpers') 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

delete_files('path')

Deletes ALL files contained in the supplied path. Example:

-delete_files('/path/to/directory/'); +delete_files('./path/to/directory/');

If the second parameter is set to true, any directories contained within the supplied root path will be deleted as well. Example:

-delete_files('/path/to/directory/', TRUE); +delete_files('./path/to/directory/', TRUE);

Note: The files must be writable or owned by the system in order to be deleted.

-- cgit v1.2.3-24-g4f1b