From e85c05d6999e07b19d4691b81e0680c4e56973a8 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 23 Oct 2006 20:18:34 +0000 Subject: --- user_guide/helpers/file_helper.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user_guide') diff --git a/user_guide/helpers/file_helper.html b/user_guide/helpers/file_helper.html index d51906d99..cbbf810a8 100644 --- a/user_guide/helpers/file_helper.html +++ b/user_guide/helpers/file_helper.html @@ -129,6 +129,10 @@ Code Igniter uses a front controller so paths are always relative to the main si

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

+

get_filenames('path/to/directory/')

+ +

Takes a server path as input and returns an array containing the names of all files contained within it. The file path +can optionally be added to the file names by setting the second parameter to TRUE.

-- cgit v1.2.3-24-g4f1b