From cfaad3b04c84d4eabe499bf22ae4c39cfc331a09 Mon Sep 17 00:00:00 2001 From: Ian Date: Fri, 25 Apr 2014 14:01:53 +0200 Subject: [PATCH] enhance debug note --- include/compat.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compat.inc.php b/include/compat.inc.php index a3ff9a12..a409cecc 100644 --- a/include/compat.inc.php +++ b/include/compat.inc.php @@ -105,7 +105,7 @@ if (!function_exists('errorToExceptionHandler')) { } print_r($debugbacktrace); } - //print_r($args); // debugging + //print_r($args); // debugging [Use with care! Not to public, since holding password and credentials!!!] // debugbacktrace is nice, but additional it is good to have the verbosity of SPL EXCEPTIONS, except for db connect errors // compare version to not get strange T_NEW parse errors (http://board.s9y.org/viewtopic.php?f=10&t=19436) if (!$serendipity['dbConn'] || version_compare(PHP_VERSION, '5.3', '<')) {