diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-09-20 11:52:11 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-09-20 11:52:11 +0000 |
| commit | 78d52efb4f749660510ce74c6d565835d098d1ad (patch) | |
| tree | f7b3db3d6eef6f773dc8e1537e6bffd3182f346c /install_packages.php | |
| parent | 0da99c81406710f794c8b4d28b94963538003e72 (diff) | |
| download | install-78d52efb4f749660510ce74c6d565835d098d1ad.tar.gz install-78d52efb4f749660510ce74c6d565835d098d1ad.tar.bz2 install-78d52efb4f749660510ce74c6d565835d098d1ad.zip | |
ensure that logging is enabled during first install
Diffstat (limited to 'install_packages.php')
| -rw-r--r-- | install_packages.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/install_packages.php b/install_packages.php index eccbf97..477007c 100644 --- a/install_packages.php +++ b/install_packages.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.43 2006/09/15 21:43:14 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.44 2006/09/20 11:52:11 squareing Exp $ * @package install * @subpackage functions */ @@ -297,9 +297,6 @@ if( !empty( $_REQUEST['cancel'] ) ) { 'user_id' => ROOT_USER_ID, 'title' => 'System Installation', 'log_message' => 'Packages were installed and bitweaver is ready for use.', - // error message can't be blank if called statically - // if called statically, $this->mErrors is checked when this is empty - 'error_message' => ' ', ); if( empty( $_SESSION['first_install'] ) ) { @@ -309,6 +306,8 @@ if( !empty( $_REQUEST['cancel'] ) ) { } $logHash['action_log']['title'] = "Package installation"; $logHash['action_log']['log_message'] = "The following package(s) were installed: $list"; + } else { + $gBitSystem->setConfig( 'liberty_action_log', 'y' ); } LibertyContent::storeActionLog( $logHash ); |
