From b38f3d7e03221b75d8ce30de5d0e2e92c0218bc5 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 23 Jul 2014 16:13:55 -0400 Subject: [PATCH] CC-5895: Upgrade Propel to 1.7 Add vendor directory to include path --- airtime_mvc/application/Bootstrap.php | 2 +- airtime_mvc/public/index.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/Bootstrap.php b/airtime_mvc/application/Bootstrap.php index e5bc04dce..10a7e5f15 100644 --- a/airtime_mvc/application/Bootstrap.php +++ b/airtime_mvc/application/Bootstrap.php @@ -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"); diff --git a/airtime_mvc/public/index.php b/airtime_mvc/public/index.php index 5c4dcdae8..19ede1db1 100644 --- a/airtime_mvc/public/index.php +++ b/airtime_mvc/public/index.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(),