Bug #21387 » 12375.diff
typo3/sysext/indexed_search/class.indexer.php (working copy) | ||
---|---|---|
if (strlen($content)) {
|
||
// Create temporary file:
|
||
$tmpFile = t3lib_div::tempnam('EXTERNAL_URL').'.html';
|
||
t3lib_div::writeFile($tmpFile, $content);
|
||
$tmpFile = t3lib_div::tempnam('EXTERNAL_URL');
|
||
if ($tmpFile) {
|
||
t3lib_div::writeFile($tmpFile, $content);
|
||
// Index that file:
|
||
$this->indexRegularDocument($externalUrl, TRUE, $tmpFile, 'html'); // Using "TRUE" for second parameter to force indexing of external URLs (mtime doesn't make sense, does it?)
|
||
unlink($tmpFile);
|
||
// Index that file:
|
||
$this->indexRegularDocument($externalUrl, TRUE, $tmpFile, 'html'); // Using "TRUE" for second parameter to force indexing of external URLs (mtime doesn't make sense, does it?)
|
||
unlink($tmpFile);
|
||
}
|
||
}
|
||
}
|
||
}
|
- « Previous
- 1
- 2
- Next »