diff options
author | Bill Marquette <billm@pfsense.org> | 2005-02-27 23:45:55 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-02-27 23:45:55 +0000 |
commit | 6c9927fd0d38b9389ab397448396b24c66f13d86 (patch) | |
tree | 5fabcf1e08eaa3cbe039960e2d5bd9813df0caa3 | |
parent | 0035d7a6e6f02b2e0a270139869edf9b43b3baea (diff) | |
download | pfsense-6c9927fd0d38b9389ab397448396b24c66f13d86.zip pfsense-6c9927fd0d38b9389ab397448396b24c66f13d86.tar.gz |
more path cleanup
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 6d1d42e..daafea3 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -76,7 +76,7 @@ $config_location = "http://www.pfsense.com/packages/pkg_config.xml"; if($config['package_location']) $config_location = $config['package_location']; -if(!file_exists("/tmp/pkg_config.xml")) { +if(!file_exists("{$g['tmp_path']}/pkg_config.xml")) { mwexec("cd {$g['tmp_path']} && /usr/bin/fetch \"" . $config_location . "\" >/dev/null 2>&1 "); if(!file_exists("{$g['tmp_path']}/pkg_config.xml")) { print_info_box_np("Could not download pkg_config.xml from pfSense.com. Check your DNS settings."); @@ -156,5 +156,5 @@ if(!$pkg_config['packages']) { </body> </html> -<?php system("rm /tmp/pkg*"); ?> +<?php system("rm {$g['tmp_path']}/pkg*"); ?> |