Initial commit
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled

This commit is contained in:
chorblack
2026-03-07 11:19:25 +08:00
commit e75f275ef4
4484 changed files with 645480 additions and 0 deletions

35
AutoBackup/Action.php Normal file
View File

@@ -0,0 +1,35 @@
<?php
class AutoBackup_Action extends Widget_Abstract_Contents implements Widget_Interface_Do
{
public function __construct($request, $response, $params = NULL) {
parent::__construct($request, $response, $params);
}
public function execute()
{
}
public function action()
{
$configs = Helper::options()->plugin('AutoBackup');
if($configs->cronpass){
if($this->request->taken==$configs->cronpass){
require_once 'send.php';
$Send = new Send();
return $Send->sender(1,1,1);
}else{
echo '秘钥错误';
}}
else{
echo '定时任务秘钥未设置';
}
}
}
?>