diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-02-14 10:19:15 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-02-14 10:24:32 -0200 |
commit | 429f454de6d9cadf0f1193f776e9385531c9f3ae (patch) | |
tree | 258d5d489c99051f6a9bc4f477c516d6800672ca | |
parent | 5d56f235174fbb46bf7811cbe452482fd065dbff (diff) | |
download | pfsense-429f454de6d9cadf0f1193f776e9385531c9f3ae.zip pfsense-429f454de6d9cadf0f1193f776e9385531c9f3ae.tar.gz |
Respect g['tmp_path']
-rwxr-xr-x | usr/local/www/system_firmware_settings.php | 6 |
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")); } ?> |