Revision 7f211807
Added by Renato Botelho almost 8 years ago
src/etc/inc/globals.inc | ||
---|---|---|
217 | 217 |
/* Read all XML files in following dir and load menu entries */ |
218 | 218 |
$g["ext_menu_path"] = "/usr/local/share/{$g['product_name']}/menu"; |
219 | 219 |
|
220 |
/* Cache file used to store pfSense version */ |
|
221 |
$g["version_cache_file"] = "{$g['varrun_path']}/{$g['product_name']}_version"; |
|
222 |
$g['version_cache_refresh'] = 24 * 60 * 60; /* 24h */ |
|
223 |
|
|
220 | 224 |
function platform_booting($on_console = false) { |
221 | 225 |
global $g; |
222 | 226 |
|
Also available in: Unified diff
Use cache file to show pfSense version information