fix(legacy): the ini config parser requires a .conf ext

- rename installer config filepath
This commit is contained in:
jo 2022-04-25 16:13:49 +02:00 committed by Kyle Robbertze
parent 88e618e802
commit 981ba4fe33
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ define('LIBRETIME_CONF_DIR', LIBRETIME_CONFIG_DIR); // Deprecated
define('LIBRETIME_CONFIG_FILEPATH', getenv('LIBRETIME_CONFIG_FILEPATH') ?: LIBRETIME_CONFIG_DIR . '/airtime.conf');
// Installer
define('INSTALLER_CONFIG_FILEPATH', LIBRETIME_CONFIG_DIR . '/airtime.conf.temp');
define('INSTALLER_CONFIG_FILEPATH', LIBRETIME_CONFIG_DIR . '/airtime.temp.conf');
define('INSTALLER_DEFAULT_STORAGE_PATH', '/srv/airtime/stor');
// Legacy constants

View File

@ -76,7 +76,7 @@ class MediaSetup extends Setup
}
/**
* Moves /tmp/airtime.conf.temp to /etc/airtime.conf and then removes it to complete setup.
* Moves /tmp/airtime.temp.conf to /etc/airtime.conf and then removes it to complete setup.
*
* @return bool false if either of the copy or removal operations fail
*/

View File

@ -25,7 +25,7 @@ abstract class Setup
abstract public function runSetup();
/**
* Write new property values to a given section in airtime.conf.temp.
* Write new property values to a given section in airtime.temp.conf.
*/
protected function writeToTemp()
{