Project

General

Profile

Task #24551 » getURL-typo3.diff

Administrator Admin, 2011-01-13 14:13

View differences:

typo3/file_edit.php
if ($extList && t3lib_div::inList($extList,strtolower($fI['extension']))) {
// Read file content to edit:
$fileContent = t3lib_div::getUrl($this->target);
$fileContent = t3lib_div::getURL($this->target);
// making the formfields
$hValue = 'file_edit.php?target='.rawurlencode($this->origTarget).'&returnUrl='.rawurlencode($this->returnUrl);
typo3/init.php
if (TYPO3_PROCEED_IF_NO_USER == 2) {
// ajax poll for login, let him pass
} else {
$fContent = t3lib_div::getUrl(PATH_typo3conf.'LOCK_BACKEND');
$fContent = t3lib_div::getURL(PATH_typo3conf.'LOCK_BACKEND');
if ($fContent) {
header('Location: '.$fContent); // Redirect
} else {
(1-1/21)