diff options
author | Colin Smith <colin@pfsense.org> | 2005-04-13 16:11:07 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-04-13 16:11:07 +0000 |
commit | 89a0d34ff6e28461f06a9b91e031327c97b7bd14 (patch) | |
tree | d94a8d3bdc5bb3f0a055ca751fa84312df6bcdd4 /usr | |
parent | f4f8d080c1c15e3ee2704226979e4a386f620f00 (diff) | |
download | pfsense-89a0d34ff6e28461f06a9b91e031327c97b7bd14.zip pfsense-89a0d34ff6e28461f06a9b91e031327c97b7bd14.tar.gz |
* Write all output window messages to the log after successful installation.
* Comment out some code - please test.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 9a6cf12..5b5a770 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -320,10 +320,12 @@ foreach ($packages_to_install as $id) { $config['installedpackages']['package'][$pkgid] = $pkgent; } + /* This code appears to do nothing. if (isset($id) && $a_out[$id]) $a_out[$id] = $pkgent; else $a_out[] = $pkgent; + */ if(!$_GET['mode'] == "reinstallall") { $static_output .= "Saving updated package information... "; @@ -468,7 +470,8 @@ foreach ($packages_to_install as $id) { $static_output .= "\nPackage installation successful."; update_output_window($static_output); fwrite($fd_log, "Package installation completed.\n"); - log_error("Package " . $pkgent['name'] . " installation completed okay."); + log_error("Package " . $pkgent['name'] . " installation completed successfully."); + fwrite($fd_log, "Status window output:\n" . $static_output); } // close log |