0
Fork 0
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-12-17 23:56:16 -05:00
4get/index.php

16 lines
300 B
PHP
Raw Normal View History

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