diff options
author | Renato Botelho <renato@netgate.com> | 2015-07-31 15:04:42 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-07-31 15:04:42 -0300 |
commit | 70497688eb07bf787c0ebe7cb8bb7df6e5b1235d (patch) | |
tree | 4049945e9aa56f88217a9f46410872012513207b /etc/inc | |
parent | d3f1140ff3b6b36d72b04f8567304401798eeab9 (diff) | |
download | pfsense-70497688eb07bf787c0ebe7cb8bb7df6e5b1235d.zip pfsense-70497688eb07bf787c0ebe7cb8bb7df6e5b1235d.tar.gz |
Do not try to use a variable that is not set yet
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/globals.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index b40a862..f7fe0fc 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -58,7 +58,7 @@ $g = array( "xml_rootobj" => "pfsense", "admin_group" => "admins", "product_name" => "pfSense", - "product_version" => trim(file_get_contents("{$g['etc_path']}/version"), " \n"), + "product_version" => trim(file_get_contents("/etc/version"), " \n"), "product_copyright" => "Electric Sheep Fencing LLC", "product_copyright_url" => "http://www.electricsheepfencing.com", "product_copyright_years" => "2004 - ".date("Y"), |