summaryrefslogtreecommitdiffstats
path: root/user_guide/general/core_classes.html
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2006-11-20 18:29:05 +0100
committerRick Ellis <rick.ellis@ellislab.com>2006-11-20 18:29:05 +0100
commit325197e700564f8e4e0ba7c9fc82abfd85f451b0 (patch)
treec109f0c96f187dc3b919aca591daf5767de4c982 /user_guide/general/core_classes.html
parentebfa686046bb98c757d1b41c81eb867478036e68 (diff)
Diffstat (limited to 'user_guide/general/core_classes.html')
-rw-r--r--user_guide/general/core_classes.html8
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>
+