mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
cleanup in cli
This commit is contained in:
@@ -4,9 +4,8 @@ if(!defined('IN_TRACKER'))
|
||||
die('Hacking attempt!');
|
||||
|
||||
function printProgress($msg) {
|
||||
echo $msg.'...done<br />';
|
||||
ob_flush();
|
||||
flush();
|
||||
$br = php_sapi_name() == 'cli' ? "\n" : "<br />";
|
||||
echo sprintf("[%s] %s ... done!%s", date('Y-m-d H:i:s'), $msg, $br);
|
||||
}
|
||||
|
||||
function torrent_promotion_expire($days, $type = 2, $targettype = 1){
|
||||
|
||||
Reference in New Issue
Block a user