feat: change config dir path to /etc/libretime

BREAKING: The configuration directory changed from `/etc/airtime` to
`/etc/libretime`. Please rename your configuration directory accordingly.
This commit is contained in:
jo 2022-06-06 17:10:44 +02:00 committed by Kyle Robbertze
parent 604ff20239
commit aed6d2f294
29 changed files with 51 additions and 45 deletions

View file

@ -48,8 +48,8 @@ class AirtimeInstall
} catch (PropelException $e) {
return null;
}
if (file_exists('/etc/airtime/config.yml')) {
$values = parse_ini_file('/etc/airtime/config.yml', true);
if (file_exists('/etc/libretime/config.yml')) {
$values = parse_ini_file('/etc/libretime/config.yml', true);
} else {
return null;
}