Bug #21387 » 12375.diff
typo3/sysext/indexed_search/class.indexer.php (working copy) | ||
---|---|---|
913 | 995 |
if (strlen($content)) { |
914 | 996 | |
915 | 997 |
// Create temporary file: |
916 |
$tmpFile = t3lib_div::tempnam('EXTERNAL_URL').'.html'; |
|
917 |
t3lib_div::writeFile($tmpFile, $content); |
|
998 |
$tmpFile = t3lib_div::tempnam('EXTERNAL_URL'); |
|
999 |
if ($tmpFile) { |
|
1000 |
t3lib_div::writeFile($tmpFile, $content); |
|
918 | 1001 | |
919 |
// Index that file: |
|
920 |
$this->indexRegularDocument($externalUrl, TRUE, $tmpFile, 'html'); // Using "TRUE" for second parameter to force indexing of external URLs (mtime doesn't make sense, does it?) |
|
921 |
unlink($tmpFile); |
|
1002 |
// Index that file: |
|
1003 |
$this->indexRegularDocument($externalUrl, TRUE, $tmpFile, 'html'); // Using "TRUE" for second parameter to force indexing of external URLs (mtime doesn't make sense, does it?) |
|
1004 |
unlink($tmpFile); |
|
1005 |
} |
|
922 | 1006 |
} |
923 | 1007 |
} |
924 | 1008 |
} |
- « Previous
- 1
- 2
- Next »