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
09936244da
commit
34ff8a1460
@ -473,6 +473,7 @@ function ver_compare ($version1, $operator, $version2)
|
||||
|
||||
function dbg_log ($str, $file)
|
||||
{
|
||||
if (!DBG_LOG_TRACKER || !DBG_LOG) return false;
|
||||
$dir = LOG_DIR . (defined('IN_TRACKER') ? 'dbg_tr/' : 'dbg_bb/') . date('m-d_H') .'/';
|
||||
return file_write($str, $dir . clean_filename($file), false, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user