Fix: bad function
This commit is contained in:
parent
6b6356cce7
commit
f750c4832e
@ -593,11 +593,8 @@ class CMailFile
|
|||||||
|
|
||||||
if (is_readable($newsourcefile))
|
if (is_readable($newsourcefile))
|
||||||
{
|
{
|
||||||
//$fd = fopen($newsourcefile, "rb");
|
|
||||||
//$contents = fread($fd, filesize($newsourcefile));
|
|
||||||
$contents = file_get_contents($newsourcefile); // Need PHP 4.3
|
$contents = file_get_contents($newsourcefile); // Need PHP 4.3
|
||||||
$encoded = chunk_split(base64_encode($contents), 68, $this->eol);
|
$encoded = chunk_split(base64_encode($contents), 68, $this->eol);
|
||||||
fclose($fd);
|
|
||||||
return $encoded;
|
return $encoded;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user