CC-3297: Depend on zendframework and php-pear as external packages

-DB dependency should now be externalized
This commit is contained in:
Martin Konecny 2012-02-06 14:18:03 -05:00
parent 62d1d56fd2
commit 58b4576ae1
11 changed files with 3 additions and 19 deletions

View file

@ -35,8 +35,6 @@ set_include_path($CC_CONFIG['phpDir']."/application/models" . PATH_SEPARATOR . g
require_once($CC_CONFIG['phpDir']."/library/propel/runtime/lib/Propel.php");
Propel::init($CC_CONFIG['phpDir']."/application/configs/airtime-conf.php");
//Pear classes.
set_include_path($CC_CONFIG['phpDir'].'/library/pear' . PATH_SEPARATOR . get_include_path());
require_once('DB.php');
$CC_DBC = DB::connect($CC_CONFIG['dsn'], FALSE);
if (PEAR::isError($CC_DBC)) {