You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a 0 length template is loaded PHP sends a warning.
"Warning: fread(): Length parameter must be greater than 0 in (...)"
The warning comes from the metehod "compileFile", in the line
"$this->templateInfo['code'] = $code = fread($fp, filesize($templateFilepath));" in the Parser.php file
The text was updated successfully, but these errors were encountered:
@RainPHP Added #175 - should fix the error, I use this in production already. Sorry for the duplicated pull-request, but I didn't looked up the pending requests before creating mine.
When a 0 length template is loaded PHP sends a warning.
"Warning: fread(): Length parameter must be greater than 0 in (...)"
The warning comes from the metehod "compileFile", in the line
"$this->templateInfo['code'] = $code = fread($fp, filesize($templateFilepath));" in the Parser.php file
The text was updated successfully, but these errors were encountered: