Project

General

Profile

Task #24551 » lowerCamelCase-getUrl-typo3-sysext-linkvalidator.diff

Administrator Admin, 2011-01-13 16:44

View differences:

typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php
// get the header
$content = '';
$content = t3lib_div::getURL($url, 2, FALSE, $report);
$content = t3lib_div::getUrl($url, 2, FALSE, $report);
$tries = 0;
while (($report['http_code'] == 301 || $report['http_code'] == 302
......
&& ($tries < 5)) {
$isCodeRedirect = preg_match('/Location: (.*)/', $content, $location);
if (isset($location[1])) {
$content = t3lib_div::getURL($location[1], 2, FALSE, $report);
$content = t3lib_div::getUrl($location[1], 2, FALSE, $report);
}
$tries++;
}
typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php
$this->setCliArguments();
$file = t3lib_div::getFileAbsFileName($this->emailfile);
$htmlFile = t3lib_div::getURL($file);
$htmlFile = t3lib_div::getUrl($file);
$this->templateMail = t3lib_parsehtml::getSubpart($htmlFile, '###REPORT_TEMPLATE###');
// The array to put the content into
(17-17/21)