[eluser]xwero[/eluser]
The library structure is not that good because the main file, DB.php, is stored in the database directory. The directory should be to store every file except the main file then you can load the library as follows
Code:
include('libraries/DB.php');
instead of
Code:
include('libraries/database/DB.php');
Another thing you have to strip from CI is the application/config/database.php file. The inclusion of this file should be altered too.
To make method calls you do
Code:
$db = new CI_DB();
$db->query('sql statement here');