diff options
Diffstat (limited to 'index-install.php')
-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() { |