Bug #24980 » 17511_4-4.patch
typo3/sysext/install/mod/class.tx_install_session.php (working copy) | ||
---|---|---|
*/
|
||
private function getSessionSavePath() {
|
||
return sprintf(
|
||
$this->typo3tempPath . '/' . $this->sessionPath,
|
||
$this->typo3tempPath . $this->sessionPath,
|
||
md5(
|
||
'session:' .
|
||
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']
|
||
... | ... | |
*/
|
||
public function write($id, $sessionData) {
|
||
$sessionFile = $this->getSessionFile($id);
|
||
if ($fp = @fopen($sessionFile, 'w')) {
|
||
$return = fwrite($fp, $sessionData);
|
||
fclose($fp);
|
||
return $return;
|
||
} else {
|
||
return FALSE;
|
||
}
|
||
return t3lib_div::writeFile($sessionFile, $sessionData);
|
||
}
|
||
/**
|