mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update common.php
This commit is contained in:
parent
c459a54d2e
commit
bdec54f605
@ -473,7 +473,7 @@ function ver_compare ($version1, $operator, $version2)
|
||||
|
||||
function dbg_log ($str, $file)
|
||||
{
|
||||
if (!DBG_LOG_TRACKER || !DBG_LOG) return false;
|
||||
if (!DBG_LOG_TRACKER && !DBG_LOG) return false;
|
||||
$dir = (defined('IN_TRACKER') ? 'dbg_tr/' : 'dbg_bb/') . date('m-d_H') .'/';
|
||||
return bb_log($str, $dir . clean_filename($file));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user