]> source.dussan.org Git - nextcloud-server.git/commitdiff
Enable php display_errors setting
authorBart Visscher <bartv@thisnet.nl>
Thu, 27 Oct 2011 20:48:50 +0000 (22:48 +0200)
committerBart Visscher <bartv@thisnet.nl>
Thu, 27 Oct 2011 20:48:50 +0000 (22:48 +0200)
lib/base.php

index d5fff1e0a7450b0a10576425ac6077bc58e5621e..c52b4493e01bb6e4845ee46923a55ed9be2f6ea0 100644 (file)
@@ -77,6 +77,9 @@ class OC{
                // set some stuff
                //ob_start();
                error_reporting(E_ALL | E_STRICT);
+               if (defined('DEBUG') && DEBUG){
+                       ini_set('display_errors', 1);
+               }
 
                date_default_timezone_set('Europe/Berlin');
                ini_set('arg_separator.output','&amp;');