Revision 5f1c154d
Added by Renato Botelho over 11 years ago
usr/local/www/system_firmware_settings.php | ||
---|---|---|
80 | 80 |
$closehead = false; |
81 | 81 |
include("head.inc"); |
82 | 82 |
|
83 |
exec("/usr/bin/fetch -q -o /tmp/manifest \"{$g['update_manifest']}\"");
|
|
84 |
if(file_exists("/tmp/manifest")) {
|
|
85 |
$preset_urls_split = explode("\n", file_get_contents("/tmp/manifest"));
|
|
83 |
exec("/usr/bin/fetch -q -o {$g['tmp_path']}/manifest \"{$g['update_manifest']}\"");
|
|
84 |
if(file_exists("{$g['tmp_path']}/manifest")) {
|
|
85 |
$preset_urls_split = explode("\n", file_get_contents("{$g['tmp_path']}/manifest"));
|
|
86 | 86 |
} |
87 | 87 |
|
88 | 88 |
?> |
Also available in: Unified diff
Respect g['tmp_path']