Welcome Guest, Not a member yet? Register   Sign In
Upgrade to 2.0.2 from 1.7.2
#3

[eluser]InsiteFX[/eluser]
All Controllers now extend CI_Controller
All Models now extend CI_Model

If the library you are extending is in system/core then your library goes into application/core
If the library you are extending is in system/libraries then your library goes into application/libraries

If you use a MY_Controller it may not work! So you need to add this...
application/config/config.php - to the bottom of the config file.
Code:
/*
| -------------------------------------------------------------------
|  Native Autoload - by Phil Sturgeon.
| -------------------------------------------------------------------
|
| Nothing to do with config/autoload.php, this allows PHP autoload to work
| for base controllers and some third-party libraries.
|
| If using HMVC you do not need this! HMVC will autoload.
|
| Place this code at the bottom of your application/config/config.php file.
*/
function __autoload($class)
{
    if (strpos($class, 'CI_') !== 0)
    {
        @include_once(APPPATH . 'core/' . $class . EXT);
    }
}

InsiteFX


Messages In This Thread
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-11-2011, 02:40 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-11-2011, 03:08 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-11-2011, 03:27 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-11-2011, 05:28 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-14-2011, 10:20 AM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-14-2011, 10:31 AM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-14-2011, 10:33 AM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-15-2011, 11:06 AM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-15-2011, 01:22 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-15-2011, 01:58 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-15-2011, 02:41 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-15-2011, 04:17 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-15-2011, 06:18 PM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-16-2011, 06:48 AM
Upgrade to 2.0.2 from 1.7.2 - by El Forum - 04-17-2011, 06:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB