Refactored the upgrade process for Airtime Pro

This commit is contained in:
Albert Santoni 2014-07-01 13:36:09 -04:00
parent 3357c1f032
commit 9de92a87a4
3 changed files with 221 additions and 73 deletions

View file

@ -44,6 +44,10 @@ if (file_exists('/usr/share/php/libzend-framework-php')) {
set_include_path('/usr/share/php/libzend-framework-php' . PATH_SEPARATOR . get_include_path());
}
//Upgrade directory
set_include_path(APPLICATION_PATH . '/upgrade/' . PATH_SEPARATOR . get_include_path());
/** Zend_Application */
require_once 'Zend/Application.php';
$application = new Zend_Application(