web/routing.php
author ymh <ymh.work@gmail.com>
Tue, 15 Dec 2020 12:00:28 +0100
changeset 1534 8bedbed7666c
parent 1388 72b2ca5a481e
permissions -rw-r--r--
set enmi20 as live

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