From: Tobias Diekershoff Date: Wed, 30 Jan 2019 06:09:47 +0000 (+0100) Subject: warn in admin panel when legacy config is used X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b26d09d62b5144c3dfe3f1d7ec17a1c48d4d9bab;p=friendica.git warn in admin panel when legacy config is used --- 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()) {