From 78d52efb4f749660510ce74c6d565835d098d1ad Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Wed, 20 Sep 2006 11:52:11 +0000 Subject: ensure that logging is enabled during first install --- install_packages.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'install_packages.php') 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 @@ 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 ); -- cgit v1.3