summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-14 08:55:28 -0200
committerRenato Botelho <renato@netgate.com>2015-12-14 08:55:28 -0200
commit9ba351c17e4c85e01832e38b6ba7b6a7898a290d (patch)
tree799c02a092c3d28482fde8d919018f9e31c093c7 /src/usr/local/www/guiconfig.inc
parentb74e44592328f9d1770aa395a841c05c7d0960b1 (diff)
downloadpfsense-9ba351c17e4c85e01832e38b6ba7b6a7898a290d.zip
pfsense-9ba351c17e4c85e01832e38b6ba7b6a7898a290d.tar.gz
Set language early on a common place included everywhere. This fix some tar warnings 'Failed to set locale'
Diffstat (limited to 'src/usr/local/www/guiconfig.inc')
-rw-r--r--src/usr/local/www/guiconfig.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc
index d9d3def..7c9c7d8 100644
--- a/src/usr/local/www/guiconfig.inc
+++ b/src/usr/local/www/guiconfig.inc
@@ -87,15 +87,6 @@ require_once("functions.inc");
/* Include the autoloader for all the GUI display classes */
require_once("classes/autoload.inc.php");
-/* Set the default interface language */
-if ($config['system']['language'] <> "") {
- $g['language'] = $config['system']['language'];
-} elseif ($g['language'] == "") {
- $g['language'] = 'en_US';
-}
-
-set_language($g['language']);
-
/* used by progress bar */
$lastseen = "-1";
OpenPOWER on IntegriCloud