Commit f468f627 by 冷斌

fix bug

parent 5626d6ad
......@@ -13,9 +13,6 @@ class Progress
*/
public static function getProgress($old_file, $new_file)
{
var_dump($old_file, $new_file);
die;
// 进度报告地址
$log_file = $new_file.'.log';
if(is_file($log_file)){
......@@ -62,7 +59,6 @@ class Progress
exec($cmd, $totalTime);
}
$totalTime = explode(":", $totalTime[0]);
$totalTime_ss = $totalTime[0] * 3600 + $totalTime[1] * 60 + round($totalTime[2]); //转化为秒
$haddleTime = explode(":", $haddleTime[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment