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