forked from Korbs/4get
14 lines
240 B
PHP
14 lines
240 B
PHP
<?php
|
|
|
|
include "lib/frontend.php";
|
|
$frontend = new frontend();
|
|
|
|
$images = glob("banner/*");
|
|
|
|
echo $frontend->load(
|
|
"home.html",
|
|
[
|
|
"body_class" => $frontend->getthemeclass(false),
|
|
"banner" => $images[rand(0, count($images) - 1)]
|
|
]
|
|
);
|