diff options
| author | Daniel Sutcliffe <dansut@users.sourceforge.net> | 2009-02-03 22:24:52 +0000 |
|---|---|---|
| committer | Daniel Sutcliffe <dansut@users.sourceforge.net> | 2009-02-03 22:24:52 +0000 |
| commit | 07a80078942634a19b64249b1c5e1fb6df28f78c (patch) | |
| tree | 8d7a7026de3874f3a61ab041801ddd0dafca71bb /install.php | |
| parent | 1e198d824fd86ebc936a2d6f857b2d4502534178 (diff) | |
| download | install-07a80078942634a19b64249b1c5e1fb6df28f78c.tar.gz install-07a80078942634a19b64249b1c5e1fb6df28f78c.tar.bz2 install-07a80078942634a19b64249b1c5e1fb6df28f78c.zip | |
SMARTY assign $gBitSystem for use in templates
Diffstat (limited to 'install.php')
| -rw-r--r-- | install.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/install.php b/install.php index 8e3a14c..dc40024 100644 --- a/install.php +++ b/install.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.26 2008/10/24 20:22:18 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/install.php,v 1.27 2009/02/03 22:24:52 dansut Exp $ * @package install * @subpackage functions */ @@ -138,6 +138,9 @@ $install_file[$i]['file'] = 'final'; $install_file[$i]['name'] = 'Done'; //don't increment last $i since it's used later on +// Needed for version number +$gBitSmarty->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'; |
