diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-09-06 15:52:35 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-09-06 15:52:35 -0400 |
commit | 68f452a84e81a4ec9976da19c0c8c319c86baff1 (patch) | |
tree | d787b545c5253f81d717bf0e4c3331c903b8d5c7 | |
parent | fe38f1dac4ac1b042ee445d3a72d7732344213db (diff) | |
download | pfsense-68f452a84e81a4ec9976da19c0c8c319c86baff1.zip pfsense-68f452a84e81a4ec9976da19c0c8c319c86baff1.tar.gz |
Use stristr just in case of case sensitive nanobsd name
-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 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; |