summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_firmware_settings.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-30 14:33:29 -0300
committerRenato Botelho <renato@netgate.com>2015-09-30 14:33:37 -0300
commit2344bed478676b498a014dcec618db37e3422fd1 (patch)
treef278a4652a311ce1935d40e626ec4310b45737b6 /src/usr/local/www/system_firmware_settings.php
parentc580e34c6fe24107817d6a72956e77b23f043beb (diff)
downloadpfsense-2344bed478676b498a014dcec618db37e3422fd1.zip
pfsense-2344bed478676b498a014dcec618db37e3422fd1.tar.gz
Use product_name global variable in more places
Diffstat (limited to 'src/usr/local/www/system_firmware_settings.php')
-rw-r--r--src/usr/local/www/system_firmware_settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_firmware_settings.php b/src/usr/local/www/system_firmware_settings.php
index aaf9089..e9f576c 100644
--- a/src/usr/local/www/system_firmware_settings.php
+++ b/src/usr/local/www/system_firmware_settings.php
@@ -183,7 +183,7 @@ $section->addInput(new Form_Checkbox(
$form->add($section);
-if(file_exists("/usr/local/bin/git") && $g['platform'] == "pfSense") {
+if(file_exists("/usr/local/bin/git") && $g['platform'] == $g['product_name']) {
$section = new Form_Section('GitSync');
$section->addInput(new Form_Checkbox(
@@ -257,4 +257,4 @@ update_firmwareurl();
</script>
<?php
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud