diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-14 15:57:41 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-14 15:57:41 -0500 |
commit | d98d2db3ca27299ccf73535c7edcef8281974f23 (patch) | |
tree | 7a8dcff4ce706c5311657f23ae5cc248c645c71e /usr/local/www/pkg_mgr_install.php | |
parent | 74b7361ff912ac715aec51b0f6a64976d4041dcf (diff) | |
download | pfsense-d98d2db3ca27299ccf73535c7edcef8281974f23.zip pfsense-d98d2db3ca27299ccf73535c7edcef8281974f23.tar.gz |
Redirect to the installedinfo page after package installation giving the system a chance to refresh the menus and the final installation text
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 7139a0d..e4e25e7 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -153,6 +153,8 @@ switch($_GET['mode']) { update_output_window($static_output); filter_configure(); } + file_put_contents("/tmp/" . $_GET['pkg'] . ".info", $static_output); + echo "<script type='text/javascript'>document.location=\"pkg_mgr_install.php?mode=installedinfo&pkg={$_GET['pkg']}\";</script>"; break; case "installedinfo": if(file_exists("/tmp/{$_GET['pkg']}.info")) { |