web/routing.php
author ymh <ymh.work@gmail.com>
Tue, 12 Jan 2021 17:29:44 +0100
changeset 1539 2eca6c367a75
parent 1388 72b2ca5a481e
permissions -rw-r--r--
publish enmi2020

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