diff options
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index b6fb197..f8480a8 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -187,7 +187,7 @@ switch($_GET['mode']) { $static_output .= "\n\nInstallation halted."; update_output_window($static_output); } else { - $filename = escapeshellcmd("/tmp/" . $_GET['pkg'] . ".info"); + $filename = escapeshellcmd("/tmp/" . $_GET['id'] . ".info"); $fd = fopen($filename, "w"); $status_a = "Installation of " . htmlspecialchars($_GET['id']) . " completed."; update_status($status_a); |