diff options
Diffstat (limited to 'user_guide/general/core_classes.html')
-rw-r--r-- | user_guide/general/core_classes.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user_guide/general/core_classes.html b/user_guide/general/core_classes.html index f7e308acd..92c35c706 100644 --- a/user_guide/general/core_classes.html +++ b/user_guide/general/core_classes.html @@ -144,6 +144,14 @@ class MY_Input extends CI_Input {<br /> This allows you to substantially alter the Code Igniter core.</p>
+<h3>Setting Your Own Prefix</h3>
+
+<p>To set your own sub-class prefix, open your <dfn>application/config/config.php</dfn> file and look for this item:</p>
+
+<code>$config['subclass_prefix'] = 'MY_';</code>
+
+<p>Please note that all native Code Igniter libraries are prefixed with <kbd>CI_</kbd> so DO NOT use that as your prefix.</p>
+
|