drnk.me/controllers/GET.php

12 lines
247 B
PHP
Raw Permalink Normal View History

2023-11-29 21:17:08 +00:00
<?php
return function (array &$context) {
2023-11-30 21:34:36 +00:00
$data = [];
2023-12-02 21:13:02 +00:00
if (key_exists("formonly", $_GET)) {
require(ROOT . "/templates/pages/fragments/url-form.php");
2023-12-02 21:13:02 +00:00
} else {
require(ROOT . "/templates/pages/homepage.php");
}
2023-11-29 21:17:08 +00:00
};