1
0
forked from lolcat/4get
Files
api
audio
banner
data
docker
docs
icons
lib
oracles
scraper
static
template
.gitignore
Dockerfile
README.md
about.php
ami4get.php
api.txt
audio.php
audio_sc.php
captcha.php
docker-compose.yaml
favicon.ico
favicon.php
images.php
index.php
instances.php
license.txt
music.php
news.php
opensearch.php
proxy.php
robots.txt
settings.php
sitemap.php
videos.php
web.php
4get/index.php
2023-11-07 08:04:56 -05:00

16 lines
300 B
PHP

<?php
include "data/config.php";
include "lib/frontend.php";
$frontend = new frontend();
$images = glob("banner/*");
echo $frontend->load(
"home.html",
[
"server_short_description" => htmlspecialchars(config::SERVER_SHORT_DESCRIPTION),
"banner" => $images[rand(0, count($images) - 1)]
]
);