web/routing.php
author Riwad Salim <riwad.salim@yahoo.fr>
Mon, 16 Dec 2019 23:05:12 +0100
changeset 1520 f189d4918dae
parent 1388 72b2ca5a481e
permissions -rw-r--r--
Edit enmi19 description

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