From 07a80078942634a19b64249b1c5e1fb6df28f78c Mon Sep 17 00:00:00 2001 From: Daniel Sutcliffe Date: Tue, 3 Feb 2009 22:24:52 +0000 Subject: SMARTY assign $gBitSystem for use in templates --- install.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.php b/install.php index 8e3a14c..dc40024 100644 --- a/install.php +++ b/install.php @@ -1,6 +1,6 @@ assign_by_ref( 'gBitSystem', $gBitSystem ); + // if we have to log in, call login template and die if( !empty( $gBitDbType ) && !empty( $gBitInstaller->mPackages['users']['installed'] ) && !$gBitUser->isAdmin() && !$_SESSION['first_install'] ) { $install_file = 'login'; -- cgit v1.3