finish support with otane

This commit is contained in:
xiaomlove
2022-03-20 22:14:00 +08:00
parent a5ea51de55
commit 0e4544459f
39 changed files with 427 additions and 104 deletions

View File

@@ -6,7 +6,7 @@ die('Hacking attempt!');
function printProgress($msg) {
$br = php_sapi_name() == 'cli' ? "\n" : "<br />";
echo sprintf("[%s] [%s] %s ... done!%s", date('Y-m-d H:i:s'), REQUEST_ID, $msg, $br);
echo sprintf("[%s] [%s] %s ... done!%s", date('Y-m-d H:i:s'), nexus()->getRequestId(), $msg, $br);
}
function torrent_promotion_expire($days, $type = 2, $targettype = 1){