bugfixes
This commit is contained in:
parent
976ab4a5b0
commit
fc5323835b
4 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue