summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/hooks/main-warning.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/sysconfig/hooks/main-warning.inc.php')
-rw-r--r--modules-available/sysconfig/hooks/main-warning.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules-available/sysconfig/hooks/main-warning.inc.php b/modules-available/sysconfig/hooks/main-warning.inc.php
new file mode 100644
index 00000000..e5bc592f
--- /dev/null
+++ b/modules-available/sysconfig/hooks/main-warning.inc.php
@@ -0,0 +1,6 @@
+<?php
+
+if (!file_exists(CONFIG_HTTP_DIR . '/default/config.tgz')) {
+ Message::addError('sysconfig.no-noconfig-active', true);
+ $needSetup = true;
+} \ No newline at end of file