From facd08f9fe572cc05aa6f066b6b19d0868809d6b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 4 Jan 2005 22:58:51 +0000 Subject: Add a number of directives allowing fields to be tied together similar to wizard.php --- usr/local/www/pkg_mgr_install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www/pkg_mgr_install.php') diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 4208ad4..304283f 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -379,8 +379,8 @@ if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) { eval($toeval); fwrite($fd, $url . "\n"); } else { - $xml = $menu['configfile']; - if(stristr($menu['configfile'],".xml") == "") $xml .= ".xml"; + $xml = ""; + if(stristr($menu['configfile'],".xml") == "") $xml = ".xml"; fwrite($fd, "/pkg.php?xml=" . $menu['configfile'] . $xml . "\n"); } fclose($fd); -- cgit v1.1