@@ 327-333 (lines=7) @@ | ||
324 | }//end if |
|
325 | ||
326 | $dots++; |
|
327 | if ($dots === 60) { |
|
328 | $padding = ($maxLength - strlen($numProcessed)); |
|
329 | echo str_repeat(' ', $padding); |
|
330 | $percent = round(($numProcessed / $numFiles) * 100); |
|
331 | echo " $numProcessed / $numFiles ($percent%)".PHP_EOL; |
|
332 | $dots = 0; |
|
333 | } |
|
334 | }//end foreach |
|
335 | ||
336 | restore_error_handler(); |
|
@@ 558-564 (lines=7) @@ | ||
555 | } |
|
556 | ||
557 | $dots++; |
|
558 | if ($dots === 60) { |
|
559 | $padding = ($maxLength - strlen($numProcessed)); |
|
560 | echo str_repeat(' ', $padding); |
|
561 | $percent = round(($numProcessed / $totalBatches) * 100); |
|
562 | echo " $numProcessed / $totalBatches ($percent%)".PHP_EOL; |
|
563 | $dots = 0; |
|
564 | } |
|
565 | }//end if |
|
566 | }//end if |
|
567 | }//end foreach |