CC-2186: Integration of a logger tool

-initial check-in. Everything appears to be working...
This commit is contained in:
martin 2011-04-20 00:46:03 -04:00
parent 3b1e79a5d8
commit 171828f8ad
6 changed files with 50 additions and 5 deletions

View file

@ -10,6 +10,7 @@ Propel::init(__DIR__."/configs/airtime-conf.php");
$tz = ini_get('date.timezone') ? ini_get('date.timezone') : 'UTC';
date_default_timezone_set($tz);
require_once __DIR__."/logging/Logging.php";
require_once __DIR__."/configs/constants.php";
require_once __DIR__."/configs/conf.php";
require_once 'DB.php';
@ -33,8 +34,8 @@ if (PEAR::isError($CC_DBC)) {
exit(1);
}
$CC_DBC->setFetchMode(DB_FETCHMODE_ASSOC);
Logging::setLogPath('/var/log/airtime/zendphp.log');
//Zend_Session::start();
Zend_Validate::setDefaultNamespaces("Zend");
$front = Zend_Controller_Front::getInstance();