diff options
Diffstat (limited to 'usr/local/www')
-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 e644e12..156b48f 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -55,7 +55,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 |