[eluser]Daniel_C[/eluser]
[quote author="WanWizard" date="1293171110"]I beg to differ. If the framework should contain checks for every mistake a developer can make, it would be slow as hell.
In this case, if you have configured database sessions, you have done that because you intent to use it. So make sure the database is present.[/quote]
At the moment I did some mistakes on purpose and they have not resulted in fatal errors.
For example I changed language config to one non-existent:
Code:
$config['language'] = "r";
And the frameworks shows a beauty message:
An Error Was Encountered
Unable to load the requested language file: language/r/error_lang.php
The frameworks should contain checks for security mistakes, if CI does not check this database error it is vulnerable to full path disclosure, bug that we can fix in index.php with error_reporting(0)