summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-06 15:49:03 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-06 15:49:03 -0400
commit3350a6911bd07c283cd374880c2468de806e4769 (patch)
tree43d526d6408f3c611172d6f293bcf75127676039 /usr/local
parent7475fc0ba6fececfb9b0b3cbaed5ce739897795f (diff)
downloadpfsense-3350a6911bd07c283cd374880c2468de806e4769.zip
pfsense-3350a6911bd07c283cd374880c2468de806e4769.tar.gz
Check globals variable
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_firmware.php2
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
OpenPOWER on IntegriCloud