web/routing.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Fri, 09 Mar 2018 18:37:44 +0100
changeset 1416 4a4732c1f466
parent 1388 72b2ca5a481e
permissions -rw-r--r--
Small colloque corrections

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