summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-06-18 10:00:48 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-06-18 10:00:48 +0000
commit40483ed3bb827bbd922506dabe96321658f4ad52 (patch)
treeecfc7c476a9ffa94db3017196d4932cf2feb5399 /install.php
parent4ffdbf13bbe9e08f1b9990e0c4f1c5fc06c3d399 (diff)
downloadinstall-40483ed3bb827bbd922506dabe96321658f4ad52.tar.gz
install-40483ed3bb827bbd922506dabe96321658f4ad52.tar.bz2
install-40483ed3bb827bbd922506dabe96321658f4ad52.zip
add a reload page button on settings check page
Diffstat (limited to 'install.php')
-rw-r--r--install.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/install.php b/install.php
index be4975d..45079f1 100644
--- a/install.php
+++ b/install.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.8 2006/02/22 23:53:16 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.9 2006/06/18 10:00:48 squareing Exp $
* @package install
* @subpackage functions
*/
@@ -30,6 +30,10 @@ if( !isset( $_REQUEST['step'] ) ) {
}
$step = $_REQUEST['step'];
+if( !empty( $_REQUEST['reload'] ) ) {
+ header( "Location: ".$_SERVER['HTTP_REFERER'] );
+}
+
// for pages that should only be shown during a first install
if( ( empty( $gBitDbType ) || !$gBitUser->isAdmin() ) || ( $_SESSION['first_install'] ) ) {
$onlyDuringFirstInstall = TRUE;