PHP7 compatibility fixes.
[fa-stable.git] / includes / lang / language.inc
index 4bc98df50540197860e92fb13bc8106ed8eb8dbc..fd3762c0c65e87b8d8438b72d9d479cd038d8043 100644 (file)
@@ -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