mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
init
This commit is contained in:
13
cron.php
Normal file
13
cron.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
require_once("include/bittorrent.php");
|
||||
dbconn();
|
||||
if ($useCronTriggerCleanUp) {
|
||||
$return = autoclean();
|
||||
if ($return) {
|
||||
echo $return."\n";
|
||||
} else {
|
||||
echo "Clean-up not triggered.\n";
|
||||
}
|
||||
} else {
|
||||
echo "Forbidden. Clean-up is set to be browser-triggered.\n";
|
||||
}
|
||||
Reference in New Issue
Block a user