summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-03-22 20:43:50 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-03-22 20:43:50 +0100
commitac9e0cdecc7ec15f173e5d538a18c37ab08d455b (patch)
tree671e1d26516f375b0900ad7956594ddecb1a4647
parentfa281354b37feead98ab71cc4e6d68f9748a7b6c (diff)
Updating docs for extending core libraries to reference the application/core directory
-rw-r--r--user_guide/general/core_classes.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/general/core_classes.html b/user_guide/general/core_classes.html
index f67c00539..6ffafca5e 100644
--- a/user_guide/general/core_classes.html
+++ b/user_guide/general/core_classes.html
@@ -89,9 +89,9 @@ know what you are doing before attempting it.</p>
<h2>Replacing Core Classes</h2>
-<p>To use one of your own system classes instead of a default one simply place your version inside your local <dfn>application/libraries</dfn> directory:</p>
+<p>To use one of your own system classes instead of a default one simply place your version inside your local <dfn>application/core</dfn> directory:</p>
-<code>application/libraries/<dfn>some-class.php</dfn></code>
+<code>application/core/<dfn>some-class.php</dfn></code>
<p>If this directory does not exist you can create it.</p>
@@ -118,7 +118,7 @@ Extending a class is nearly identical to replacing a class with a couple excepti
<li>Your new class name and filename must be prefixed with <kbd>MY_</kbd> (this item is configurable. See below.).</li>
</ul>
-<p>For example, to extend the native <kbd>Input</kbd> class you'll create a file named <dfn>application/libraries/</dfn><kbd>MY_Input.php</kbd>, and declare your class with:</p>
+<p>For example, to extend the native <kbd>Input</kbd> class you'll create a file named <dfn>application/core/</dfn><kbd>MY_Input.php</kbd>, and declare your class with:</p>
<code>
class MY_Input extends CI_Input {<br /><br />