11 lines
189 B
PHP
11 lines
189 B
PHP
<?php declare(strict_types=1);
|
|
|
|
use MyPrayerJournal\{Auth, UI};
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] <> 'GET') not_found();
|
|
require '../../start.php';
|
|
|
|
Auth::requireUser(false);
|
|
|
|
UI::journal();
|