web/routing.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 15 Jan 2018 17:10:45 +0100
changeset 1412 8e51c6b8815f
parent 1388 72b2ca5a481e
permissions -rw-r--r--
publish enmi17 sessions

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