From 1ea127ae8a8026af7679526af06ff297d5104104 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 4 Apr 2008 12:26:46 +0000 Subject: doc fixes --- user_guide/general/helpers.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'user_guide/general/helpers.html') diff --git a/user_guide/general/helpers.html b/user_guide/general/helpers.html index 063ef720c..5569d9834 100644 --- a/user_guide/general/helpers.html +++ b/user_guide/general/helpers.html @@ -69,8 +69,7 @@ Each helper function performs one specific task, with no dependence on other fun

CodeIgniter does not load Helper Files by default, so the first step in using a Helper is to load it. Once loaded, it becomes globally available in your controller and views.

-

Helpers are typically stored in your system/helpers directory. Alternately you can create a folder called helpers inside -your application folder and store them there. CodeIgniter will look first in your system/application/helpers +

Helpers are typically stored in your system/helpers, or system/application/helpers directory. CodeIgniter will look first in your system/application/helpers directory. If the directory does not exist or the specified helper is not located there CI will instead look in your global system/helpers folder.

@@ -149,7 +148,7 @@ function any_in_array($needle, $haystack)
function random_element($array)
{
    shuffle($array);
-    return array_pop();
+    return array_pop($array);
}
-- cgit v1.2.3-24-g4f1b