From 68f452a84e81a4ec9976da19c0c8c319c86baff1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 6 Sep 2009 15:52:35 -0400 Subject: Use stristr just in case of case sensitive nanobsd name --- usr/local/www/system_firmware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php index 4a8a217..bf0b92f 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -53,7 +53,7 @@ ini_set('max_input_time', '9999'); function file_is_for_platform($filename) { global $g; if($g['platform'] == "nanobsd") { - if(strstr($filename, "nanobsd")) + if(stristr($filename, "nanobsd")) return true; else return false; -- cgit v1.1