Merge branch 'devel' of dev.sourcefabric.org:airtime into devel

This commit is contained in:
denise 2012-09-10 17:54:45 -04:00
commit fb7de88a30
4 changed files with 12 additions and 4 deletions

View file

@ -1,8 +1,12 @@
<?php
//error_reporting(E_ALL|E_STRICT);
//error_reporting(E_ALL);
//ini_set('display_errors', 'on');
error_reporting(E_ALL|E_STRICT);
function exception_error_handler($errno, $errstr, $errfile, $errline)
{
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
}
set_error_handler("exception_error_handler");
// Define path to application directory
defined('APPLICATION_PATH')
@ -53,6 +57,7 @@ try {
$application->bootstrap()->run();
}
} catch (Exception $e) {
echo $e->getMessage();
Logging::info($e->getMessage());
}