summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index-install.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index-install.php b/index-install.php
index 1ae6ea7..3677654 100644
--- a/index-install.php
+++ b/index-install.php
@@ -1,4 +1,9 @@
<?php
+// don't ever call this file directly!
+if( strpos( $_SERVER["REQUEST_URI"], 'index-install.php' ) ) {
+ header( "Location: index.php" );
+ die();
+}
define('WP_INSTALLING', true);
function printheader() {