diff --git a/mod/admin.php b/mod/admin.php
index 5b252f6bf..7723a5155 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -936,7 +936,7 @@ 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')) {
+ 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 config/local.ini.php
. See the Config help page for help with the transition.', $a->getBaseURL() . '/help/Config');
}