Пример #1
0
 static function lower_error_reporting()
 {
     // Gallery 2 was not designed to run in E_STRICT mode and will barf out errors.  So dial down
     // the error reporting when we make G2 calls.
     self::$error_reporting = error_reporting(error_reporting() & ~E_STRICT);
 }