Add validation when change the url without a workspace but with a session active
This commit is contained in:
@@ -30,6 +30,10 @@ if (isset ($_POST['form']['USER_ENV'])) {
|
||||
die ();
|
||||
}
|
||||
|
||||
@session_destroy();
|
||||
session_start();
|
||||
session_regenerate_id();
|
||||
|
||||
//Required classes for dbArray work
|
||||
require_once ("propel/Propel.php");
|
||||
require_once ("creole/Creole.php");
|
||||
|
||||
@@ -598,7 +598,9 @@ class SkinEngine
|
||||
$header = '';
|
||||
|
||||
if (isset($oHeadPublisher)) {
|
||||
if (defined('SYS_SYS')) {
|
||||
$oHeadPublisher->title = isset($_SESSION['USR_USERNAME']) ? '(' . $_SESSION['USR_USERNAME'] . ' ' . G::LoadTranslation('ID_IN') . ' ' . SYS_SYS . ')' : '';
|
||||
}
|
||||
$header = $oHeadPublisher->printHeader();
|
||||
$header .= $oHeadPublisher->getExtJsStylesheets($this->cssFileName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user