Project

General

Profile

« Previous | Next » 

Revision 9f2f1dda

Added by Renato Botelho over 9 years ago

Move set_language() call back to guiconfig.inc since it's causing trouble on console

View differences:

src/etc/inc/config.inc
229 229
}
230 230
date_default_timezone_set("$timezone");
231 231

  
232
if (!function_exists('set_language')) {
233
	require_once("pfsense-utils.inc");
234
}
235
set_language();
236

  
237 232
if ($config_parsed == true) {
238 233
	/* process packager manager custom rules */
239 234
	if (is_dir("/usr/local/pkg/parse_config")) {
src/usr/local/www/guiconfig.inc
91 91
$mandfldhtml = "";		/* display this before mandatory input fields */
92 92
$mandfldhtmlspc = "";	/* same as above, but with spacing */
93 93

  
94
if (!function_exists('set_language')) {
95
	require_once("pfsense-utils.inc");
96
}
97
set_language();
98

  
94 99
/* Some ajax scripts still need access to GUI */
95 100
if (!$ignorefirmwarelock) {
96 101
	if (is_subsystem_dirty('firmwarelock')) {

Also available in: Unified diff