Hacked core for PDO use

Hacked DB file to allow the use of PDO in CodeIgniter