This commit is contained in:
genuineparts 2025-06-22 17:45:42 +02:00
parent 976ab4a5b0
commit fc5323835b
4 changed files with 15 additions and 13 deletions

View file

@ -155,7 +155,6 @@ $root = $_SERVER['DOCUMENT_ROOT'] . $config['path'];
*/
require dirname(__FILE__, 2) .'/inc/lang.class.php';
$lang=new lang();
$lang->setlang($config['lang']);
/**
* Check if we have a Theme variable and the Theme exists
@ -206,6 +205,7 @@ $core=new core($db, $log, $tpl);
if(defined('INSTALLED')){
if(is_dir(dirname(__FILE__, 2) .'/install')){
$session->page_begin("Maintenance", FALSE);
$core->message($lang->_('DELINSTALLDIR'), $lang->_('DELINSTALLDIRTEXT'),FALSE);
return;
}