改名
This commit is contained in:
@@ -35,7 +35,7 @@ class ErrorHandler extends Component implements ErrorInterface
|
|||||||
*/
|
*/
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
ini_set('display_errors', 0);
|
ini_set('display_errors', '0');
|
||||||
set_exception_handler([$this, 'exceptionHandler']);
|
set_exception_handler([$this, 'exceptionHandler']);
|
||||||
if (defined('HHVM_VERSION')) {
|
if (defined('HHVM_VERSION')) {
|
||||||
set_error_handler([$this, 'errorHandler']);
|
set_error_handler([$this, 'errorHandler']);
|
||||||
|
|||||||
Reference in New Issue
Block a user