web/routing.php
author ymh <ymh.work@gmail.com>
Tue, 10 Sep 2024 18:00:20 +0200
changeset 1562 27db60397462
parent 1388 72b2ca5a481e
permissions -rw-r--r--
Correct path in sitemap for events with multiple sessions

<?php
// www/routing.php
if (preg_match('/\.(?:png|jpg|jpeg|gif)$/', $_SERVER["REQUEST_URI"])) {
    return false;
} else {
    include __DIR__ . '/index.php';
}