Fixed errors
This commit is contained in:
parent
155530e084
commit
0b86b60697
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user