Merge pull request #6559 from tobiasd/20190130-admininiwarning
warn in admin panel when legacy config is used
This commit is contained in:
commit
8db9b0987e
1 changed files with 4 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue