mirror-4get/index.php

16 lines
300 B
PHP
Raw Normal View History

2023-07-22 20:41:14 +02:00
<?php
2023-11-07 14:04:56 +01:00
include "data/config.php";
2023-07-22 20:41:14 +02:00
include "lib/frontend.php";
$frontend = new frontend();
$images = glob("banner/*");
echo $frontend->load(
"home.html",
[
2023-11-07 14:04:56 +01:00
"server_short_description" => htmlspecialchars(config::SERVER_SHORT_DESCRIPTION),
2023-07-22 20:41:14 +02:00
"banner" => $images[rand(0, count($images) - 1)]
]
);