CC-5895: Upgrade Propel to 1.7

Add vendor directory to include path
This commit is contained in:
drigato 2014-07-23 16:13:55 -04:00
parent 7490c81a8f
commit b38f3d7e03
2 changed files with 4 additions and 1 deletions

View File

@ -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");

View File

@ -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(),