web/routing.php
author ymh <ymh.work@gmail.com>
Sat, 22 Sep 2018 14:53:33 +0200
changeset 1468 1c022bcd537a
parent 1388 72b2ca5a481e
permissions -rw-r--r--
push transition time

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