X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Flang%2Flanguage.inc;h=fd3762c0c65e87b8d8438b72d9d479cd038d8043;hb=b1a0e08b3d9f684ef42959dee87cbfd52a5c439e;hp=752c7e44c85fce1d4316b35046677d238cc0fcc9;hpb=f60b8293f0316ef03429af363b30c753532a67d6;p=fa-stable.git diff --git a/includes/lang/language.inc b/includes/lang/language.inc index 752c7e44..fd3762c0 100644 --- a/includes/lang/language.inc +++ b/includes/lang/language.inc @@ -13,7 +13,7 @@ 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 . "/includes/lang/gettext.php"); +include_once($path_to_root . "/includes/lang/gettext.inc"); class language { @@ -25,7 +25,7 @@ class language var $version; // lang package version var $is_locale_file; - function language($name, $code, $encoding, $dir = 'ltr') + function __construct($name, $code, $encoding, $dir = 'ltr') { global $dflt_lang; @@ -90,4 +90,3 @@ if (!function_exists("_")) return $retVal; } } -?> \ No newline at end of file