|
@@ 644-645 (lines=2) @@
|
| 641 |
|
$data = 'data:' . $rs_type . ';base64,' . base64_encode($rs); |
| 642 |
|
$this->mCache[$url] = $data; |
| 643 |
|
$this->mGetOk[] = $url; |
| 644 |
|
if ($this->mCliMode) |
| 645 |
|
echo "[" . substr('000' . strval(count($this->mGetOk) + count($this->mGetFailed)), -3) . " ] √: $url\n"; |
| 646 |
|
} |
| 647 |
|
else |
| 648 |
|
{ |
|
@@ 652-653 (lines=2) @@
|
| 649 |
|
// Fail |
| 650 |
|
$data = ''; |
| 651 |
|
$this->mGetFailed[] = $url; |
| 652 |
|
if ($this->mCliMode) |
| 653 |
|
echo "[" . substr('000' . strval(count($this->mGetOk) + count($this->mGetFailed)), -3) . " ] ×: $url\n"; |
| 654 |
|
} |
| 655 |
|
} |
| 656 |
|
return $data; |