mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fix for warnings/notices/deprecated messages on PHP 7.4
This commit is contained in:
@@ -31,7 +31,7 @@ class limesurvey_lang {
|
||||
var $gettextclass;
|
||||
var $langcode;
|
||||
|
||||
function limesurvey_lang($langcode){
|
||||
function __construct($langcode){
|
||||
global $rootdir;
|
||||
$langcode=sanitize_languagecode($langcode);
|
||||
$streamer = new FileReader($rootdir.'/locale/'.$langcode.'/LC_MESSAGES/'.$langcode.'.mo');
|
||||
|
||||
Reference in New Issue
Block a user