summaryrefslogtreecommitdiff
path: root/index.php
blob: 8eba2fc31738d6ccb328e65e7045a3bd7a803980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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)]
	]
);