web/routing.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 10 May 2017 11:43:36 +0200
changeset 1392 8ad0b6ffd299
parent 1388 72b2ca5a481e
permissions -rw-r--r--
add cnsad session 1-2

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