Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
12
site/OFF_plugins/kirby-zipdownload/cron.php
Normal file
12
site/OFF_plugins/kirby-zipdownload/cron.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
# cron.php
|
||||
#
|
||||
# Code copy/pasted from StackOverflow so you *know* it's good code. Right?
|
||||
# …Right?
|
||||
# Here's the URL anyways : http://stackoverflow.com/a/13468943
|
||||
# Stichoza and Ewout, I owe you a beer whenever we meet.
|
||||
|
||||
$path = __DIR__ . "/temp/*";
|
||||
array_map('unlink', ( glob( $path ) ? glob( $path ) : array() ) );
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue