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:
Julio Cesar Laura
2012-09-26 16:48:51 -04:00
parent 441230e4cb
commit 128b7a4c8d

View File

@@ -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;
}