init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

View file

@ -0,0 +1,14 @@
<?php
include('../autoload.php'); // If using composer
use Gregwar\Cache\GarbageCollect;
if (!is_dir('cache')) {
`mkdir cache`;
}
`touch -t 9901010101 cache/foo`;
`touch cache/bar`;
GarbageCollect::dropOldFiles(__DIR__.'/cache', 30, true);