CC-2410: Clean up install process
-fixed missing DB::connect
This commit is contained in:
parent
f755e41a9a
commit
2efe2e67a8
4 changed files with 9 additions and 12 deletions
|
@ -122,9 +122,9 @@ echo "* Airtime Version: ".AIRTIME_VERSION.PHP_EOL;
|
|||
|
||||
if ($db_install) {
|
||||
if($newInstall) {
|
||||
system('php airtime-db-install.php y');
|
||||
}
|
||||
else {
|
||||
system('php '.__DIR__.'/airtime-db-install.php y');
|
||||
AirtimeInstall::DbConnect(true);
|
||||
} else {
|
||||
require_once('airtime-db-install.php');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue