0
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-04 16:26:24 +00:00
RSS-Bridge_rss-bridge/bin/cache-clear
Dag bb2f471a03
fix: bug in prior fix (#4243)
Have to tweak the config BEFORE instantiating of course
2024-08-30 02:44:50 +02:00

16 lines
296 B
PHP
Executable file

#!/usr/bin/env php
<?php
/**
* Remove all items from the cache
*/
require __DIR__ . '/../lib/bootstrap.php';
require __DIR__ . '/../lib/config.php';
$container = require __DIR__ . '/../lib/dependencies.php';
/** @var CacheInterface $cache */
$cache = $container['cache'];
$cache->clear();