summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-02-14 10:19:15 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-02-14 10:23:50 -0200
commit5f1c154dbba5a532acb0fdcffce7ed89a4c636c3 (patch)
tree15d0886b5b9c4b1a015436fee12c733ea55d57d0 /usr/local/www
parentaea33635c002031ca4118c29c19cdc4d26992c43 (diff)
downloadpfsense-5f1c154dbba5a532acb0fdcffce7ed89a4c636c3.zip
pfsense-5f1c154dbba5a532acb0fdcffce7ed89a4c636c3.tar.gz
Respect g['tmp_path']
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/system_firmware_settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php
index f127a9d..6939329 100755
--- a/usr/local/www/system_firmware_settings.php
+++ b/usr/local/www/system_firmware_settings.php
@@ -80,9 +80,9 @@ $pgtitle = array(gettext("System"),gettext("Firmware"),gettext("Settings"));
$closehead = false;
include("head.inc");
-exec("/usr/bin/fetch -q -o /tmp/manifest \"{$g['update_manifest']}\"");
-if(file_exists("/tmp/manifest")) {
- $preset_urls_split = explode("\n", file_get_contents("/tmp/manifest"));
+exec("/usr/bin/fetch -q -o {$g['tmp_path']}/manifest \"{$g['update_manifest']}\"");
+if(file_exists("{$g['tmp_path']}/manifest")) {
+ $preset_urls_split = explode("\n", file_get_contents("{$g['tmp_path']}/manifest"));
}
?>
OpenPOWER on IntegriCloud