web/routing.php
author ymh <ymh.work@gmail.com>
Tue, 20 Oct 2020 11:03:05 +0200
changeset 1528 59a81a4de989
parent 1388 72b2ca5a481e
permissions -rw-r--r--
Ajout Enmi 2020

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