summaryrefslogtreecommitdiff
path: root/installer/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/config.php')
-rw-r--r--installer/config.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/installer/config.php b/installer/config.php
index 6897ffbba..d6846edc7 100644
--- a/installer/config.php
+++ b/installer/config.php
@@ -1,3 +1,10 @@
+<?php
+
+if (!class_exists('rcube_install') || !is_object($RCI)) {
+ die("Not allowed! Please open installer/index.php instead.");
+}
+
+?>
<form action="index.php" method="post">
<input type="hidden" name="_step" value="2" />
<?php