sticky background color

This commit is contained in:
xiaomlove
2021-06-05 15:50:23 +08:00
parent 34a6c2e1f4
commit 2ce9f5105f
13 changed files with 68 additions and 37 deletions

View File

@@ -68,11 +68,9 @@ foreach ($settings as $name => $value) {
}
$SITENAME = $BASIC['SITENAME'];
//$BASEURL = $BASIC['BASEURL'];
$BASEURL = $_SERVER['HTTP_HOST'] ?? '';
$BASEURL = $BASIC['BASEURL'] ?: ($_SERVER['HTTP_HOST'] ?? '');
$announce_urls = array();
//$announce_urls[] = $BASIC['announce_url'];
$announce_urls[] = $BASEURL . '/announce.php';
$announce_urls[] = $BASIC['announce_url'] ?: ($BASEURL . '/announce.php');
$SITE_ONLINE = $MAIN['site_online'];
$max_torrent_size = $MAIN['max_torrent_size'];