summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-06 15:52:35 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-06 15:52:35 -0400
commit68f452a84e81a4ec9976da19c0c8c319c86baff1 (patch)
treed787b545c5253f81d717bf0e4c3331c903b8d5c7 /usr/local/www/system_firmware.php
parentfe38f1dac4ac1b042ee445d3a72d7732344213db (diff)
downloadpfsense-68f452a84e81a4ec9976da19c0c8c319c86baff1.zip
pfsense-68f452a84e81a4ec9976da19c0c8c319c86baff1.tar.gz
Use stristr just in case of case sensitive nanobsd name
Diffstat (limited to 'usr/local/www/system_firmware.php')
-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 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;
OpenPOWER on IntegriCloud