Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:splitbrain/dokuwiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris--S committed Sep 18, 2010
2 parents f4daa9a + 5bd930f commit 667644e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/infoutils.php
Expand Up @@ -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);
}
Expand Down

0 comments on commit 667644e

Please sign in to comment.