drnk.me/controllers/GET.php
2023-12-03 14:01:23 +01:00

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");
}
};