Explorar o código

Enable the display of PHP errors and exceptions in production

Gerard Roche %!s(int64=11) %!d(string=hai) anos
pai
achega
bbbb9c9d97
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      php-zend-framework1/application/configs/application.ini

+ 3 - 3
php-zend-framework1/application/configs/application.ini

@@ -1,10 +1,10 @@
 [production]
-phpSettings.display_startup_errors = 0
-phpSettings.display_errors = 0
+phpSettings.display_startup_errors = 1
+phpSettings.display_errors = 1
 bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
 bootstrap.class = "Bootstrap"
 resources.frontcontroller.controllerDirectory = APPLICATION_PATH "/controllers"
-resources.frontcontroller.params.displayExceptions = 0
+resources.frontcontroller.params.displayExceptions = 1
 
 resources.db.adapter = "pdo_mysql"
 resources.db.params.host = "localhost"