Skip to content
Snippets Groups Projects
Commit 667644e8 authored by Christopher Smith's avatar Christopher Smith
Browse files

Merge branch 'master' of git@github.com:splitbrain/dokuwiki

parents f4daa9a1 5bd930ff
No related branches found
No related tags found
No related merge requests found
......@@ -304,6 +304,9 @@ function dbg($msg,$hidden=false){
*/
function dbglog($msg,$header=''){
global $conf;
// The debug log isn't automatically cleaned thus only write it when
// debugging has been enabled by the user.
if($conf['allowdebug'] !== 1) return;
if(is_object($msg) || is_array($msg)){
$msg = print_r($msg,true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment