Welcome Guest, Not a member yet? Register   Sign In
Upgraded 2.0.3 to 2.1.0 cannot extend Loader.php anmyore
#4

[eluser]Karman de Lange[/eluser]
I had same issue with loader class.

MY_Loader did not get processed with "MY_" as prefix in config
but My_Loader worked fine with "My_" as prefix in config.

my current working Loader extension is:

Config.php : $config['subclass_prefix'] = 'Vpx_';

My current loader is : file: "Vpx_Loader.php" (under application/core)


Class Vpx_Loader extends CI_Loader {

function __construct() {
parent::__construct();

}

function my_view($view_name, $output = null, $ajax = '') {
do something
}
}


Messages In This Thread
Upgraded 2.0.3 to 2.1.0 cannot extend Loader.php anmyore - by El Forum - 02-17-2012, 02:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB