diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-02 23:13:22 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-02 23:13:22 +0000 |
commit | d07c2a40450adac9a83087db0a45aebdf4f06f52 (patch) | |
tree | 445dec77cc3e72ad5f05a3582eed979f6b797537 | |
parent | eda683de4e9f6b690678c9191fc9a950dd4c57cd (diff) | |
download | wordpress-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
-rw-r--r-- | index-install.php | 5 |
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() { |