summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-02 23:13:22 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-02 23:13:22 +0000
commitd07c2a40450adac9a83087db0a45aebdf4f06f52 (patch)
tree445dec77cc3e72ad5f05a3582eed979f6b797537 /index-install.php
parenteda683de4e9f6b690678c9191fc9a950dd4c57cd (diff)
downloadwordpress-mu-d07c2a40450adac9a83087db0a45aebdf4f06f52.tar.gz
wordpress-mu-d07c2a40450adac9a83087db0a45aebdf4f06f52.tar.xz
wordpress-mu-d07c2a40450adac9a83087db0a45aebdf4f06f52.zip
Don't call index-install.php directly
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@623 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index-install.php')
-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() {