Redirect to the installedinfo page after package installation giving the system a chance to refresh the menus and the final installation text

This commit is contained in:
Scott Ullrich 2010-12-14 15:57:41 -05:00
parent 74b7361ff9
commit d98d2db3ca

View File

@ -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")) {