CC-5895: Upgrade Propel to 1.7
Add vendor directory to include path
This commit is contained in:
parent
7490c81a8f
commit
b38f3d7e03
|
@ -3,7 +3,7 @@ require_once __DIR__."/configs/conf.php";
|
|||
$CC_CONFIG = Config::getConfig();
|
||||
|
||||
require_once __DIR__."/configs/ACL.php";
|
||||
require_once 'vendor/propel/propel1/runtime/lib/Propel.php';
|
||||
require_once 'propel/propel1/runtime/lib/Propel.php';
|
||||
|
||||
Propel::init(__DIR__."/configs/airtime-conf-production.php");
|
||||
|
||||
|
|
|
@ -25,6 +25,9 @@ defined('APPLICATION_ENV')
|
|||
defined('VERBOSE_STACK_TRACE')
|
||||
|| define('VERBOSE_STACK_TRACE', (getenv('VERBOSE_STACK_TRACE') ? getenv('VERBOSE_STACK_TRACE') : true));
|
||||
|
||||
//Vendors
|
||||
set_include_path(realpath(dirname(__FILE__) . '/../../vendor'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
get_include_path(),
|
||||
|
|
Loading…
Reference in New Issue