web/routing.php
author ymh <ymh.work@gmail.com>
Sun, 23 Sep 2018 14:12:38 +0200
changeset 1474 53f0f4ed20c8
parent 1388 72b2ca5a481e
permissions -rw-r--r--
Add support for extended tweets

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