X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Flang%2Flanguage.php;h=ea428fca07b5463e3cfc310142b05ad98a9610ec;hb=0a05cddb79a71b347f3106ba97b4897998bf222d;hp=2c32d84c46a23cd958935139a277794fff81e535;hpb=18ac91d88b86a806aaee34bb8af9066ca1213532;p=fa-stable.git diff --git a/includes/lang/language.php b/includes/lang/language.php index 2c32d84c..ea428fca 100644 --- a/includes/lang/language.php +++ b/includes/lang/language.php @@ -12,7 +12,7 @@ // Prevent register_globals vulnerability if (isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) die("Restricted access"); -include_once($path_to_root . "/lang/installed_languages.inc"); +@include_once($path_to_root . "/lang/installed_languages.inc"); include_once($path_to_root . "/includes/lang/gettext.php"); class language @@ -30,7 +30,7 @@ class language global $dflt_lang; $this->name = $name; - $this->code = $code ? $code : ($dflt_lang ? $dflt_lang : 'en_GB'); + $this->code = $code ? $code : ($dflt_lang ? $dflt_lang : 'C'); $this->encoding = $encoding; $this->dir = $dir; }