Bug #17600 ยป bug_6337.diff
t3lib/class.t3lib_beuserauth.php (Arbeitskopie) | ||
---|---|---|
* @internal
|
||
*/
|
||
function overrideUC() {
|
||
$this->uc = array_merge((array)$this->uc, (array)$this->getTSConfigProp('setup.override')); // Candidate for t3lib_div::array_merge() if integer-keys will some day make trouble...
|
||
$TSoverride = $this->getTSConfigProp('setup.override');
|
||
if (is_array($TSoverride)) {
|
||
foreach ($TSoverride as $key=>$val) { // Remove dots in TSconfig array ($this->uc keys have no trailing dots)
|
||
if (is_array($val) && substr($key,-1)=='.') {
|
||
unset($TSoverride[$key]);
|
||
$newKey = substr($key,0,-1);
|
||
$TSoverride[$newKey] = $val;
|
||
}
|
||
}
|
||
$this->uc = t3lib_div::array_merge_recursive_overrule((array)$this->uc, $TSoverride); // Candidate for t3lib_div::array_merge() if integer-keys will some day make trouble...
|
||
}
|
||
}
|
||
/**
|
t3lib/class.t3lib_tsfebeuserauth.php (Arbeitskopie) | ||
---|---|---|
}
|
||
// Saving
|
||
$this->overrideUC();
|
||
$this->writeUC();
|
||
}
|
||
$GLOBALS['TT']->LR = $this->extGetFeAdminValue('tsdebug','LR');
|
t3lib/class.t3lib_userauth.php (Arbeitskopie) | ||
---|---|---|
function pushModuleData($module,$data,$noSave=0) {
|
||
$this->uc['moduleData'][$module] = $data;
|
||
$this->uc['moduleSessionID'][$module] = $this->id;
|
||
if (!$noSave) $this->writeUC();
|
||
if (!$noSave) {
|
||
$this->overrideUC();
|
||
$this->writeUC();
|
||
}
|
||
}
|
||
/**
|
typo3/sysext/cms/tslib/class.tslib_feuserauth.php (Arbeitskopie) | ||
---|---|---|
function storeSessionData() {
|
||
// Saves UC and SesData if changed.
|
||
if ($this->userData_change) {
|
||
$this->writeUC('');
|
||
$this->writeUC();
|
||
}
|
||
if ($this->sesData_change) {
|
||
if ($this->id) {
|