diff --git a/typo3/sysext/impexp/class.tx_impexp.php b/typo3/sysext/impexp/class.tx_impexp.php index 8de2ae4..0b609e1 100755 --- a/typo3/sysext/impexp/class.tx_impexp.php +++ b/typo3/sysext/impexp/class.tx_impexp.php @@ -349,7 +349,7 @@ class tx_impexp { if (@is_file($imgFilepath)) { $imgInfo = @getimagesize($imgFilepath); if (is_array($imgInfo)) { - $fileContent = t3lib_div::getUrl($imgFilepath); + $fileContent = t3lib_div::getURL($imgFilepath); $this->dat['header']['thumbnail'] = array( 'imgInfo' => $imgInfo, 'content' => $fileContent, @@ -789,7 +789,7 @@ class tx_impexp { } // ... and finally add the heavy stuff: - $fileRec['content'] = t3lib_div::getUrl($fI['ID_absFile']); + $fileRec['content'] = t3lib_div::getURL($fI['ID_absFile']); $fileRec['content_md5'] = md5($fileRec['content']); $this->dat['files'][$fI['ID']] = $fileRec; @@ -815,7 +815,7 @@ class tx_impexp { $this->dat['header']['files'][$RTEoriginal_ID] = $fileRec; // ... and finally add the heavy stuff: - $fileRec['content'] = t3lib_div::getUrl($RTEoriginal_absPath); + $fileRec['content'] = t3lib_div::getURL($RTEoriginal_absPath); $fileRec['content_md5'] = md5($fileRec['content']); $this->dat['files'][$RTEoriginal_ID] = $fileRec; } else { @@ -862,7 +862,7 @@ class tx_impexp { $this->dat['header']['files'][$EXTres_ID] = $fileRec; // ... and finally add the heavy stuff: - $fileRec['content'] = t3lib_div::getUrl($EXTres_absPath); + $fileRec['content'] = t3lib_div::getURL($EXTres_absPath); $fileRec['content_md5'] = md5($fileRec['content']); $this->dat['files'][$EXTres_ID] = $fileRec; } @@ -2132,7 +2132,7 @@ class tx_impexp { if ($this->dat['files'][$fileID]) { t3lib_div::writeFile($fileName,$this->dat['files'][$fileID]['content']); $this->fileIDMap[$fileID] = $fileName; - if (md5(t3lib_div::getUrl($fileName))==$this->dat['files'][$fileID]['content_md5']) { + if (md5(t3lib_div::getURL($fileName))==$this->dat['files'][$fileID]['content_md5']) { return TRUE; } else $this->error('ERROR: File content "'.$fileName.'" was corrupted'); } else $this->error('ERROR: File ID "'.$fileID.'" could not be found'); @@ -2236,7 +2236,7 @@ class tx_impexp { $fI = pathinfo($filename); if (strtolower($fI['extension'])=='xml') { // XML: - $xmlContent = t3lib_div::getUrl($filename); + $xmlContent = t3lib_div::getURL($filename); if (strlen($xmlContent)) { $this->dat = t3lib_div::xml2array($xmlContent,'',TRUE); if (is_array($this->dat)) {