[eluser]falmp[/eluser]
I'm testing out the error logging and error handling but with not so much success.
On my index.php I have:
And on my config.php I have:
Code:
$config['log_threshold'] = 4;
But with a broken controller, I get a blank page and nothing on my log-2009-05-03.php error log (well, only the usual DEBUG messages).
Broken controller:
Code:
<?php
class Home extends Controller {
function index()
{
echo "yargh, this be a broken controller --->"
}
}
If I change error_reporting to E_ALL, I get the PHP error displayed on the browser (and still nothing on the log file).
It seems I can't get CI to properly log the PHP errors or even use the application/errors/error_php.php file.
Any ideas?