web/routing.php
author Riwad Salim <riwad.salim@yahoo.fr>
Tue, 27 Oct 2020 14:10:44 +0100
changeset 1532 6f6294d607cd
parent 1388 72b2ca5a481e
permissions -rw-r--r--
Edit enmi20

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