fix(legacy): the ini config parser requires a .conf ext
- rename installer config filepath
This commit is contained in:
parent
88e618e802
commit
981ba4fe33
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue