diff --git a/wp-quick-install/index.php b/wp-quick-install/index.php index 89a0a9f..bdbb429 100755 --- a/wp-quick-install/index.php +++ b/wp-quick-install/index.php @@ -19,7 +19,8 @@ require( 'inc/functions.php' ); // Force URL with index.php -if ( empty( $_GET ) && end( ( explode( '/' , trim($_SERVER['REQUEST_URI'], '/') ) ) ) == 'wp-quick-install' ) { +$requestURI = explode( '/' , trim($_SERVER['REQUEST_URI'], '/') ); +if ( empty( $_GET ) && end( ( $requestURI ) ) == 'wp-quick-install' ) { header( 'Location: index.php' ); die(); }