Documentation

init


init

Init method connects the class to the database:

DB::init( );

Init method loads the database account from the file application/config/db.php. The method Loader::db() use that information to connect the database.