CC-3297: Depend on zendframework and php-pear as external packages
-DB dependency should now be externalized
This commit is contained in:
parent
62d1d56fd2
commit
58b4576ae1
11 changed files with 3 additions and 19 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue