Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PHP5.4 E_ALL change support

  • Loading branch information...
commit 585b6e8793a82a9cf38adc15ae803ea95948b27c 1 parent 5f80401
@roojs roojs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  HTML/Template/Flexy.php
View
2  HTML/Template/Flexy.php
@@ -529,7 +529,7 @@ function outputObject(&$t,$elements=array())
$_error_reporting = false;
if (!$this->options['strict']) {
- $_error_reporting = error_reporting(E_ALL ^ E_NOTICE);
+ $_error_reporting = error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
}
if (!is_readable($this->compiledTemplate)) {
return $this->raiseError( "Could not open the template: <b>'{$this->compiledTemplate}'</b><BR>".
Please sign in to comment.
Something went wrong with that request. Please try again.