BUG 9822 Tree Panel y mensaje inicial Get Started no estan en posicion correcta
- Warning in the class G generate a corrupt css file - Add validation for this warning
This commit is contained in:
@@ -1208,9 +1208,13 @@ class G
|
||||
G::LoadClass('serverConfiguration');
|
||||
$oServerConf =& serverConf::getSingleton();
|
||||
if (!(defined('SYS_LANG'))) {
|
||||
$syss = explode('://', $_SERVER['HTTP_REFERER']);
|
||||
$sysObjets = explode('/', $syss['1']);
|
||||
$sysLang = $sysObjets['2'];
|
||||
if (isset($_SERVER['HTTP_REFERER'])) {
|
||||
$syss = explode('://', $_SERVER['HTTP_REFERER']);
|
||||
$sysObjets = explode('/', $syss['1']);
|
||||
$sysLang = $sysObjets['2'];
|
||||
} else {
|
||||
$sysLang = 'en';
|
||||
}
|
||||
} else {
|
||||
$sysLang = SYS_LANG;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user