Welcome Guest, Not a member yet? Register   Sign In
Do not autoload database to controller
#1

I have several controllers in my project that use the database, because of this, my autoload.php file has the database resource inserted for libraries.
Code:
$autoload['libraries'] = array('database', 'parser', 'encryption');

However, there is only one controller that does not need to connect to the database.
Is it possible to just not load the database when using this specific controller?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB