diff options
Diffstat (limited to 'modules-available/sysconfig/hooks/main-warning.inc.php')
-rw-r--r-- | modules-available/sysconfig/hooks/main-warning.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/sysconfig/hooks/main-warning.inc.php b/modules-available/sysconfig/hooks/main-warning.inc.php index e5bc592f..9c5a4f3f 100644 --- a/modules-available/sysconfig/hooks/main-warning.inc.php +++ b/modules-available/sysconfig/hooks/main-warning.inc.php @@ -1,6 +1,6 @@ <?php -if (!file_exists(CONFIG_HTTP_DIR . '/default/config.tgz')) { +if (false === Database::queryFirst("SELECT locationid FROM configtgz_location WHERE locationid = 0")) { Message::addError('sysconfig.no-noconfig-active', true); $needSetup = true; -}
\ No newline at end of file +} |