again, more bugfixing

This commit is contained in:
genuineparts 2025-06-22 14:31:05 +02:00
parent 5b22537c44
commit 40a50d23cd

View file

@ -5,7 +5,6 @@ class lang{
var string $lf = "";
function __construct(){
global $lf;
$language = "";
if(isset($_COOKIE['bcwe_install_lang'])) {
$language = $_COOKIE['bcwe_install_lang'];
@ -21,7 +20,9 @@ class lang{
$this->lang=$language;
}
include dirname(__FILE__).'/languages/'.$this->lang.'.lang.php';
$this->lf=$lf;
if (isset($lf)) {
$this->lf = $lf;
}
}