diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-09-06 15:49:03 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-09-06 15:49:03 -0400 |
commit | 3350a6911bd07c283cd374880c2468de806e4769 (patch) | |
tree | 43d526d6408f3c611172d6f293bcf75127676039 /usr/local | |
parent | 7475fc0ba6fececfb9b0b3cbaed5ce739897795f (diff) | |
download | pfsense-3350a6911bd07c283cd374880c2468de806e4769.zip pfsense-3350a6911bd07c283cd374880c2468de806e4769.tar.gz |
Check globals variable
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_firmware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index d2404b9..dcfab93 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -56,7 +56,7 @@ function file_is_for_platform($filename) { if(!file_exists("/tmp/etc/platform")) return false; $upgrade_is_for_platform = trim(file_get_contents("/tmp/etc/platform")); - if($upgrade_is_for_platform == "nanobsd") { + if($g['platform'] == "nanobsd") { if(strstr($filename, "nanobsd")) return true; else |