mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-19 04:19:28 +01:00
fixed broken import after r49077
This commit is contained in:
parent
d26fbdcb00
commit
0190a1a908
@ -6061,6 +6061,10 @@ class emailadmin_imapbase
|
|||||||
*/
|
*/
|
||||||
function parseFileIntoMailObject($mailObject,$tmpFileName,&$Header,&$Body)
|
function parseFileIntoMailObject($mailObject,$tmpFileName,&$Header,&$Body)
|
||||||
{
|
{
|
||||||
|
if (parse_url($tmpFileName, PHP_URL_SCHEME) != 'vfs')
|
||||||
|
{
|
||||||
|
$tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].SEP.basename($tmpFileName);
|
||||||
|
}
|
||||||
$message = file_get_contents($tmpFileName);
|
$message = file_get_contents($tmpFileName);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user