Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix logger Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jun 25, 2016
1 parent de94d18 commit 0067484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/core.log/Logger.php
Expand Up @@ -149,7 +149,7 @@ public static function log2($level, $source, $prefix, $messages = [])
*/
public static function debug($source, $prefix = "")
{
if(!class_exists("ConfService")) return ;
if(!class_exists("Pydio\\Core\\Services\\ConfService")) return ;
if(!ConfService::getConf("SERVER_DEBUG")) return ;
if (func_num_args() <= 2) {
self::notice(__CLASS__, "Deprecated", "You are calling debug() with ".func_num_args()." arguments, please use at least 3");
Expand Down

0 comments on commit 0067484

Please sign in to comment.