From b48220f0ea33301d0cc866c380d9f24a344606da Mon Sep 17 00:00:00 2001 From: Naomi Date: Wed, 18 May 2011 18:00:39 -0400 Subject: [PATCH] CC-2271 1.8.2 code cleanup tasks include the pear db class. --- install/airtime-upgrade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/airtime-upgrade.php b/install/airtime-upgrade.php index 1fc4c3a62..4072473a2 100644 --- a/install/airtime-upgrade.php +++ b/install/airtime-upgrade.php @@ -6,8 +6,9 @@ * @license http://www.gnu.org/licenses/gpl.txt */ -set_include_path(__DIR__.'/../airtime_mvc/library' . PATH_SEPARATOR . get_include_path()); - +//Pear classes. +set_include_path(__DIR__.'/../airtime_mvc/library/pear' . PATH_SEPARATOR . get_include_path()); +require_once('DB.php'); if(exec("whoami") != "root"){ echo "Must be root user.\n";