We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6581c commit 2594467Copy full SHA for 2594467
Classes/Controller/Pi1.php
@@ -204,21 +204,18 @@ public function main($content, $conf) {
204
if($_COOKIE[$conf['cookieName']] && $_COOKIE[$conf['cookieName']] != $_COOKIE[$beCookieName]) {
205
$res = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('ses_id', 'be_sessions', 'ses_id = \'' . $_COOKIE[$beCookieName] . '\' ');
206
if(empty($res)) {
207
- setcookie(
+ $this->setCookie(
208
$beCookieName,
209
'',
210
- 0,
211
- '/',
212
- $this->getCookieDomain()
+ 0
213
);
214
215
$conf['cookieName'],
216
217
218
219
220
221
header("Location: " . GeneralUtility::getIndpEnv("TYPO3_REQUEST_URL"));
+ die;
222
}
223
224
0 commit comments