diff options
Diffstat (limited to 'usr/local')
-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")); } ?> |