Browse Source

Merge pull request #6559 from tobiasd/20190130-admininiwarning

warn in admin panel when legacy config is used
pull/6561/head
Hypolite Petovan 3 years ago
committed by GitHub
parent
commit
8db9b0987e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      mod/admin.php

4
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 <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…
Cancel
Save