web/routing.php
author Riwad Salim
Sun, 30 Jun 2019 18:43:25 +0200
changeset 1505 c1b35ccab78a
parent 1388 72b2ca5a481e
permissions -rw-r--r--
image correction on enmi19-preparatoire

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