1
Fork 1
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-10-04 17:04:10 -05:00
4get/index.php
2023-11-07 08:04:56 -05:00

15 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)]
]
);