diff --git a/web/yaamp/commands/CheckupCommand.php b/web/yaamp/commands/CheckupCommand.php index b4da2ba..a7a80c4 100644 --- a/web/yaamp/commands/CheckupCommand.php +++ b/web/yaamp/commands/CheckupCommand.php @@ -186,8 +186,15 @@ class CheckupCommand extends CConsoleCommand $nbUpdated = 0; $nbDropped = 0; foreach ($coins->findAll() as $coin) { if (!empty($coin->image)) { - if (file_exists($this->basePath.$coin->image)) + if (file_exists($this->basePath.$coin->image)) { + $data = file_get_contents($this->basePath.$coin->image); + if (strstr($data, "