web/routing.php
author ymh <ymh.work@gmail.com>
Wed, 02 Jan 2019 17:49:19 +0100
changeset 1496 184372ec27e2
parent 1388 72b2ca5a481e
permissions -rw-r--r--
upgrade to python 3 and twitter api

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