Revision 573ec19d
Added by Renato Botelho over 4 years ago
src/etc/inc/services.inc | ||
---|---|---|
2578 | 2578 |
EOD; |
2579 | 2579 |
} |
2580 | 2580 |
|
2581 |
$sysDescr = "{$g['product_name']} {$config['system']['hostname']}.{$config['system']['domain']}" .
|
|
2581 |
$sysDescr = "{$g['product_label']} {$config['system']['hostname']}.{$config['system']['domain']}" .
|
|
2582 | 2582 |
" {$g['product_version_string']} " . php_uname("s") . |
2583 | 2583 |
" " . php_uname("r") . " " . php_uname("m"); |
2584 | 2584 |
|
Also available in: Unified diff
Add product_label global variable
Introduce product_label global variable, by default with same value of
product_name. The idea is to make it easier for rebranded products to
change the name on all visual texts while internal structures are
preserved.
While here, remove deprecated $g['platform'] and also replace places
with pfSense hardcoded on text messages by $g['product_label'].
No functional changes are expected.