web/routing.php
author ymh <ymh.work@gmail.com>
Tue, 19 Jun 2018 00:08:44 +0200
changeset 1429 eb164bc67293
parent 1388 72b2ca5a481e
permissions -rw-r--r--
update confog.tmpl

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