summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xincludes/setup_inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/setup_inc.php b/includes/setup_inc.php
index ba1487f..36ab633 100755
--- a/includes/setup_inc.php
+++ b/includes/setup_inc.php
@@ -274,6 +274,8 @@ if( $gBitSystem->isDatabaseValid() ) {
// INSTALLER_FORCE was set earlier and here we force the installer if needed.
if( defined( 'INSTALLER_FORCE' )) {
+ // After login via validate.php, redirect back to the installer rather than the site homepage.
+ $_SESSION['loginfrom'] = INSTALL_PKG_URL.'install.php';
$gBitSmarty->display( "bitpackage:kernel/force_installer.tpl" );
die;
} \ No newline at end of file