CC-2434: Install script recreates unique ID on every install. Moved ID creation into the database install script.
This commit is contained in:
parent
e725e4fbe4
commit
eea89301e0
3 changed files with 10 additions and 9 deletions
|
@ -47,6 +47,8 @@ if (isset($argv[1]) && $argv[1] == 'y') {
|
|||
echo "* Setting Airtime version".PHP_EOL;
|
||||
AirtimeInstall::SetAirtimeVersion(AIRTIME_VERSION);
|
||||
|
||||
AirtimeInstall::SetUniqueId();
|
||||
|
||||
if (AirtimeInstall::$databaseTablesCreated) {
|
||||
echo "* Inserting stor directory into music_dirs table".PHP_EOL;
|
||||
$stor_dir = realpath($CC_CONFIG['storageDir']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue