Initial commit.

This commit is contained in:
Yuuki Chan 2023-02-23 23:35:29 +09:00
commit 05b556d024
38 changed files with 6220 additions and 0 deletions

20
system/database.php Normal file
View file

@ -0,0 +1,20 @@
<?php
if ((empty($_GET)) || (!isset($_GET['action']) && !isset($_GET['data'])))
die('invalid operation');
include('class/anitv.php');
require('config.php');
$AniTV = new AniTV();
$AniTV->connect();
switch ($_GET['action'])
{
case 'sync':
$AniTV->sync($_GET['data']);
break;
default:
die('invalid operation');
}