Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed default app errorAction

commit 17e0a77bcf7dd5f6146468df23e7766356af16f8 1 parent 10fb010
@samdark samdark authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/cli/views/webapp/protected/config/main.php
View
4 framework/cli/views/webapp/protected/config/main.php
@@ -54,8 +54,8 @@
'db'=>require(dirname(__FILE__).'/database.php'),
'errorHandler'=>array(
- // use 'site/error' action to display errors. Set to null to display stacktrace in debug mode.
- 'errorAction'=>'site/error',
+ // use 'site/error' action to display errors
+ 'errorAction'=>YII_DEBUG ? null : 'site/error',
),
'log'=>array(

2 comments on commit 17e0a77

@cebe
Owner

:+1: :)

@ninjacn

good

Please sign in to comment.
Something went wrong with that request. Please try again.