CodeIgniter Loading Database Unnecessarily?

dooffkeves

New Member
Just started using CodeIgniter, loving it.Having enabled the database to be one of the libraries to be loaded. I noticed that on pages that I don't even use the database (static pages). CI complains:\[quote\] A Database Error Occurred Unable to connect to your database server using the provided settings.\[/quote\]The error is not a problem as I haven't supplied the correct username/password. The problem is, would CI try to connect to the database on every page load even though my application doesn't require it on that page or am I missing something?Or am I missing the point of AutoLoad?Thanks all
 
Top