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