mirror of
https://github.com/sigmasternchen/drnk.me
synced 2025-03-15 09:48:54 +00:00
11 lines
247 B
PHP
11 lines
247 B
PHP
<?php
|
|
|
|
return function (array &$context) {
|
|
$data = [];
|
|
|
|
if (key_exists("formonly", $_GET)) {
|
|
require(ROOT . "/templates/pages/fragments/url-form.php");
|
|
} else {
|
|
require(ROOT . "/templates/pages/homepage.php");
|
|
}
|
|
};
|