diff options
author | lolcat <will@lolcat.ca> | 2023-07-22 14:41:14 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-07-22 14:41:14 -0400 |
commit | bca265aea67ec62499aaa113a6490ce9ec7fe730 (patch) | |
tree | 3f05ec5ea542e41b474947e180034f42e99648e9 /index.php |
still missing things on google scraper
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..be9897f --- /dev/null +++ b/index.php @@ -0,0 +1,14 @@ +<?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)] + ] +); |