summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-06 15:52:46 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-06 15:52:46 -0400
commit3e6aaee5a632f141e11af4862d802b7e31a09b3a (patch)
treef59c983019096473fbd7e12ad493bec6d4a09766 /usr/local
parentb7cda8cc1258bd4515d599fda99c50ad88fd82f8 (diff)
downloadpfsense-3e6aaee5a632f141e11af4862d802b7e31a09b3a.zip
pfsense-3e6aaee5a632f141e11af4862d802b7e31a09b3a.tar.gz
Use stristr just in case of case sensitive nanobsd name
Diffstat (limited to 'usr/local')
-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 dee342e..1b18d98 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -52,7 +52,7 @@ ini_set('max_input_time', '3600');
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