general cleanup
All checks were successful
Build and publish the docker image / build (push) Successful in 18s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-01-19 06:42:44 +03:00
parent 033e4cb959
commit ce81a54de1
147 changed files with 90 additions and 2222 deletions

15
src/index.php Normal file
View File

@ -0,0 +1,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)]
]
);