summaryrefslogtreecommitdiff
path: root/install_version.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-25 10:33:38 -0400
committerspiderr <spider@viovio.com>2012-05-25 10:33:38 -0400
commite0801c18d9f70d6d11d59dd7bf8bee61ed3ee282 (patch)
treec53eb9cb451c634d08bbc0bc27aee366fb8af9ab /install_version.php
parentb9449cc90e49fcda9959f1875978647b5c6d51f8 (diff)
downloadinstall-e0801c18d9f70d6d11d59dd7bf8bee61ed3ee282.tar.gz
install-e0801c18d9f70d6d11d59dd7bf8bee61ed3ee282.tar.bz2
install-e0801c18d9f70d6d11d59dd7bf8bee61ed3ee282.zip
replace PHP_SELF with SCRIPT_NAME
Diffstat (limited to 'install_version.php')
-rw-r--r--install_version.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_version.php b/install_version.php
index d7d59c3..caf9708 100644
--- a/install_version.php
+++ b/install_version.php
@@ -49,7 +49,7 @@ if( version_compare( '2.1.0-beta', $gBitSystem->getVersion(), '>' )) {
if( !empty( $_REQUEST['update_version'] )) {
if( !empty( $upToDate ) || !empty( $_REQUEST['skip'] )) {
// if we're already up to date, we'll simply move on to the next page
- bit_redirect( $_SERVER['PHP_SELF']."?step=".++$step );
+ bit_redirect( $_SERVER['SCRIPT_NAME']."?step=".++$step );
} else {
// set the version of bitweaver in the database
if( $gBitSystem->storeVersion( NULL, $gBitSystem->getBitVersion() )) {