CC-1927: Remove PEAR DB
Fixed all install/upgrade scripts.
This commit is contained in:
parent
7f78a7f663
commit
95d69a3bbe
17 changed files with 351 additions and 2140 deletions
|
@ -7,8 +7,8 @@
|
|||
* Checks if a previous version of Airtime is currently installed and upgrades Airtime if so.
|
||||
* Performs a new install (new configs, database install) otherwise.
|
||||
*/
|
||||
require_once(dirname(__FILE__).'/AirtimeIni.php');
|
||||
require_once(dirname(__FILE__).'/AirtimeInstall.php');
|
||||
require_once(__DIR__.'/AirtimeIni.php');
|
||||
require_once(__DIR__.'/AirtimeInstall.php');
|
||||
require_once(__DIR__.'/airtime-constants.php');
|
||||
|
||||
$version = AirtimeInstall::GetVersionInstalled();
|
||||
|
@ -18,7 +18,7 @@ $version = AirtimeInstall::GetVersionInstalled();
|
|||
// -------------------------------------------------------------------------
|
||||
|
||||
$newInstall = false;
|
||||
if(is_null($version)) {
|
||||
if (is_null($version)) {
|
||||
$newInstall = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue