Feature 5388: Print Invoices (documents) list gets too long. Fixed by default 180...
[fa-stable.git] / includes / lang / language.inc
index 752c7e44c85fce1d4316b35046677d238cc0fcc9..fd3762c0c65e87b8d8438b72d9d479cd038d8043 100644 (file)
@@ -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