streams/Zotlabs/Daemon/Cache_image.php

19 lines
276 B
PHP
Raw Normal View History

<?php
namespace Zotlabs\Daemon;
use Zotlabs\Lib\Img_cache;
class Cache_image {
static public function run($argc,$argv) {
cli_startup();
2021-04-21 06:26:47 +00:00
logger('caching: ' . $argv[1] . ' to ' . $argv[2]);
if ($argc === 3) {
Img_cache::url_to_cache($argv[1],$argv[2]);
}
}
}