summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-18 15:26:25 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-18 15:26:25 +0100
commitb73c6868cd22de46af8e84fc0eb99933d7a92199 (patch)
tree8e59df4e5493c914eb1c1a60df843662eee2b847 /includes
parent5005b83ea1cafbed4361462fa3fea649f9a95cf4 (diff)
downloadinstall-b73c6868cd22de46af8e84fc0eb99933d7a92199.tar.gz
install-b73c6868cd22de46af8e84fc0eb99933d7a92199.tar.bz2
install-b73c6868cd22de46af8e84fc0eb99933d7a92199.zip
tidy first install logic so that installed opens in the right place
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/install_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/install_inc.php b/includes/install_inc.php
index 3af13d6..7b835a0 100755
--- a/includes/install_inc.php
+++ b/includes/install_inc.php
@@ -40,7 +40,7 @@ function set_menu( $pInstallFiles, $pStep ) {
foreach( $pInstallFiles as $key => $menu_step ) {
if( !isset( $menu_step['state'] ) ) {
- if( !empty( $gBitDbType ) && $gBitUser->isAdmin() && !$_SESSION['first_install'] ) {
+ if( !empty( $gBitDbType ) && !isset( $_SESSION['first_install'] ) ) {
$pInstallFiles[$key]['state'] = 'complete';
$pInstallFiles[$key]['icon'] = 'icon-ok';
} else {