From b26d09d62b5144c3dfe3f1d7ec17a1c48d4d9bab Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 30 Jan 2019 07:09:47 +0100 Subject: [PATCH] warn in admin panel when legacy config is used --- mod/admin.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mod/admin.php b/mod/admin.php index 684c31af11..5b252f6bf8 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -936,6 +936,10 @@ function admin_page_summary(App $a) $showwarning = true; $warningtext[] = L10n::t('Friendica\'s configuration now is stored in config/local.config.php, please copy config/local-sample.config.php and move your config from .htconfig.php. See the Config help page for help with the transition.', $a->getBaseURL() . '/help/Config'); } + if (file_exists('local.ini.php')) { + $showwarning = true; + $warningtext[] = L10n::t('Friendica\'s configuration now is stored in config/local.config.php, please copy config/local-sample.config.php and move your config from config/local.ini.php. See the Config help page for help with the transition.', $a->getBaseURL() . '/help/Config'); + } // Check server vitality if (!admin_page_server_vital()) { -- 2.39.5