Merge pull request #6559 from tobiasd/20190130-admininiwarning

warn in admin panel when legacy config is used
This commit is contained in:
Hypolite Petovan 2019-01-30 07:14:19 -05:00 committed by GitHub
commit 8db9b0987e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 <code>.htconfig.php</code>. See <a href="%s">the Config help page</a> for help with the transition.', $a->getBaseURL() . '/help/Config');
}
if (file_exists('config/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 <code>config/local.ini.php</code>. See <a href="%s">the Config help page</a> for help with the transition.', $a->getBaseURL() . '/help/Config');
}
// Check server vitality
if (!admin_page_server_vital()) {