From 173ec6b3343ae6dcdf8bea5c670e0e3e7e40645c Mon Sep 17 00:00:00 2001 From: Jonas L Date: Fri, 4 Feb 2022 14:57:09 +0100 Subject: [PATCH] fix(legacy): revert default storage path (#1563) The installer hasn't been updated to create the default storage path. --- legacy/application/configs/constants.php | 2 +- legacy/build/airtime-setup/forms/media-settings.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/legacy/application/configs/constants.php b/legacy/application/configs/constants.php index 08d03a5c2..8477a7781 100644 --- a/legacy/application/configs/constants.php +++ b/legacy/application/configs/constants.php @@ -26,7 +26,7 @@ define('LIBRETIME_CONFIG_FILEPATH', getenv('LIBRETIME_CONFIG_FILEPATH') ?: LIBRE // Installer define('INSTALLER_CONFIG_FILEPATH', LIBRETIME_CONFIG_DIR . '/airtime.conf.temp'); -define('INSTALLER_DEFAULT_STORAGE_PATH', '/srv/libretime/storage'); +define('INSTALLER_DEFAULT_STORAGE_PATH', '/srv/airtime/stor'); // Legacy constants define('PRODUCT_NAME', 'LibreTime'); diff --git a/legacy/build/airtime-setup/forms/media-settings.php b/legacy/build/airtime-setup/forms/media-settings.php index c72f839eb..ed668381d 100644 --- a/legacy/build/airtime-setup/forms/media-settings.php +++ b/legacy/build/airtime-setup/forms/media-settings.php @@ -6,11 +6,11 @@

Here you can set the default media storage directory for Airtime. If left blank, we'll create a new - directory located at /srv/airtime/stor/ for you. + directory located at for you.

- + Note that you need to enter the fully qualified path name!