From e334c472fb4be44feec3a73402fc4a2b062cbfc0 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 19:44:22 +0000 Subject: --- user_guide/general/plugins.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'user_guide/general/plugins.html') diff --git a/user_guide/general/plugins.html b/user_guide/general/plugins.html index 78b82318d..85190af92 100644 --- a/user_guide/general/plugins.html +++ b/user_guide/general/plugins.html @@ -12,7 +12,7 @@ @@ -63,13 +63,13 @@ Plugins

Plugins

-

Plugins work almost identically to Helpers. The main difference is that a plugin usually +

Plugins work almost identically to Helpers. The main difference is that a plugin usually provides a single function, whereas a Helper is usually a collection of functions. Helpers are also considered a part of the core system; plugins are intended to be created and shared by our community.

Plugins should be saved to your system/plugins directory or you can create a folder called plugins inside your application folder and store them there. Code Igniter will look first in your system/application/plugins -directory. If the directory does not exist or the specified plugin is not located there CI will instead look in your global +directory. If the directory does not exist or the specified plugin is not located there CI will instead look in your global system/plugins folder.

@@ -102,7 +102,7 @@ automatically in any function, or you can load a plugin in a specific function t

Auto-loading Plugins

-

If you find that you need a particular plugin globally throughout your application, you can tell Code Igniter to auto-load it +

If you find that you need a particular plugin globally throughout your application, you can tell Code Igniter to auto-load it during system initialization. This is done by opening the application/config/autoload.php file and adding the plugin to the autoload array.

-- cgit v1.2.3-24-g4f1b