summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@su.local>2009-08-31 17:34:10 -0400
committerScott Ullrich <sullrich@su.local>2009-08-31 17:34:10 -0400
commitd23c2645a58884c4655c7aaf8ff4bed5a7c53334 (patch)
tree1d25b1a5e8eaf4dc3c68c35f709870f628332739 /usr/local/www/system_firmware.php
parentf0394a034017cb78adb3e0136cc08030f49ed71a (diff)
downloadpfsense-d23c2645a58884c4655c7aaf8ff4bed5a7c53334.zip
pfsense-d23c2645a58884c4655c7aaf8ff4bed5a7c53334.tar.gz
Correct typo for filename
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 373d7ea..d00abb0 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -52,7 +52,7 @@ ini_set('max_input_time', '9999');
function file_is_for_platform($filename) {
global $g;
- exec("tar xzf $fiename -C /tmp/ etc/platform");
+ exec("tar xzf $filename -C /tmp/ etc/platform");
if(!file_exists("/tmp/etc/platform"))
return false;
$upgrade_is_for_platform = trim(file_get_contents("/tmp/etc/platform"));
OpenPOWER on IntegriCloud