upload preivew + es command

This commit is contained in:
xiaomlove
2022-04-01 23:13:42 +08:00
parent 5f6b3ceb53
commit 4172f7c07c
49 changed files with 347 additions and 126 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ foreach ($settings as $name => $value) {
$SITENAME = $BASIC['SITENAME'];
$BASEURL = $BASIC['BASEURL'] ?: ($_SERVER['HTTP_HOST'] ?? '');
$announce_urls = array();
$announce_urls[] = $BASIC['announce_url'] ?: ($BASEURL . '/announce.php');
$announce_urls[] = $BASIC['announce_url'] ?: ($BASEURL . '/api/announce');
$SITE_ONLINE = $MAIN['site_online'];
$max_torrent_size = $MAIN['max_torrent_size'];