summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-31 17:40:01 +0000
committerColin Smith <colin@pfsense.org>2005-03-31 17:40:01 +0000
commitaee3ea1997b3298c713491a68300532db0c74723 (patch)
tree219e30ecef37a1fa5d8d2e7f17ecd8537e727e03 /etc
parent085a714566806152670473eaaad0fb120d54bb82 (diff)
downloadpfsense-aee3ea1997b3298c713491a68300532db0c74723.zip
pfsense-aee3ea1997b3298c713491a68300532db0c74723.tar.gz
Add global variables for firmware version checking.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
-rw-r--r--etc/inc/globals.inc2
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 569e663..292dd10 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -170,7 +170,7 @@ function filter_configure() {
if(stristr($file, ".sh") == true) {
mwexec("/usr/local/pkg/pf/" . $file);
} else {
- if(php_check_syntax($text, $error_message) == false)
+ //if(php_check_syntax($text, $error_message) == false)
eval($text);
}
}
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 59af950..7693608 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -58,6 +58,8 @@ $g = array(
"pkg_config_filename" => "pkg_config.xml",
"firmwarebaseurl" => "http://www.pfsense.com/",
"firmwarefilename" => "latest.tgz",
+ "versioncheckbaseurl" => "http://www.pfsense.com",
+ "versioncheckpath" => "/pfSense/checkversion.php",
"embeddedbootupslice" => "/dev/ad0a"
);
OpenPOWER on IntegriCloud