mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
move get_locale_list into system.php (single usage)
This commit is contained in:
parent
1751d30ab3
commit
b4d06b803d
@ -32,6 +32,14 @@ require_once("functions.inc");
|
||||
require_once("filter.inc");
|
||||
require_once("shaper.inc");
|
||||
|
||||
function get_locale_list()
|
||||
{
|
||||
$locales = array('en_US' => gettext('English'));
|
||||
asort($locales);
|
||||
return $locales;
|
||||
}
|
||||
|
||||
|
||||
$pconfig['hostname'] = $config['system']['hostname'];
|
||||
$pconfig['domain'] = $config['system']['domain'];
|
||||
list($pconfig['dns1'],$pconfig['dns2'],$pconfig['dns3'],$pconfig['dns4']) = $config['system']['dnsserver'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user