diff options
Diffstat (limited to 'usr')
-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 |