Fixed errors

This commit is contained in:
Rooty 2021-09-23 03:15:30 +02:00
parent 155530e084
commit 0b86b60697

View File

@ -121,7 +121,12 @@ class File
*/
function readAll()
{
return implode ('', $this->content);
if( is_array($this-content)
return implode ('', $this->content);
else if( is_string($this->content)
return $this->content;
else
return $this->content;
}
/**