From ac9e0cdecc7ec15f173e5d538a18c37ab08d455b Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Mon, 22 Mar 2010 14:43:50 -0500 Subject: Updating docs for extending core libraries to reference the application/core directory --- user_guide/general/core_classes.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/general') 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.

Replacing Core Classes

-

To use one of your own system classes instead of a default one simply place your version inside your local application/libraries directory:

+

To use one of your own system classes instead of a default one simply place your version inside your local application/core directory:

-application/libraries/some-class.php +application/core/some-class.php

If this directory does not exist you can create it.

@@ -118,7 +118,7 @@ Extending a class is nearly identical to replacing a class with a couple excepti
  • Your new class name and filename must be prefixed with MY_ (this item is configurable. See below.).
  • -

    For example, to extend the native Input class you'll create a file named application/libraries/MY_Input.php, and declare your class with:

    +

    For example, to extend the native Input class you'll create a file named application/core/MY_Input.php, and declare your class with:

    class MY_Input extends CI_Input {

    -- cgit v1.2.3-24-g4f1b