summaryrefslogtreecommitdiff
path: root/installer/check.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-01-10 09:41:12 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-01-10 09:42:40 +0100
commitd9f061b558fd36e31322609ee5f378922122e21e (patch)
treeddaa209b6bf602400ff45b5d9856e5c049f5e465 /installer/check.php
parenta0eb4aef29d6b6700b562691a51b4a232dbfb123 (diff)
Avoid direct execution of installer includes (#1488895)
Diffstat (limited to 'installer/check.php')
-rw-r--r--installer/check.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/installer/check.php b/installer/check.php
index 886200b84..14fc4f06e 100644
--- a/installer/check.php
+++ b/installer/check.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="get">
<?php