From 9e4c311cf28580c37eb459ed86080d4d4cff3b58 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 1 May 2012 17:35:36 -0400 Subject: [PATCH] CC-3751: Remove db.php requirement in the upgrade script - added require_once of Propel --- install_minimal/upgrades/airtime-2.1.0/airtime-upgrade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install_minimal/upgrades/airtime-2.1.0/airtime-upgrade.php b/install_minimal/upgrades/airtime-2.1.0/airtime-upgrade.php index da60de58f..6ed58eb87 100644 --- a/install_minimal/upgrades/airtime-2.1.0/airtime-upgrade.php +++ b/install_minimal/upgrades/airtime-2.1.0/airtime-upgrade.php @@ -23,6 +23,9 @@ function get_conf_location(){ $conf_path = get_conf_location(); require_once $conf_path; +set_include_path(__DIR__.'/../../../airtime_mvc/library' . PATH_SEPARATOR . get_include_path()); + +require_once 'propel/runtime/lib/Propel.php'; require_once 'common/UpgradeCommon.php'; require_once 'ConfFileUpgrade.php'; require_once 'DbUpgrade.php';