web/routing.php
changeset 1388 72b2ca5a481e
equal deleted inserted replaced
1387:9996e11ba8e4 1388:72b2ca5a481e
       
     1 <?php
       
     2 // www/routing.php
       
     3 if (preg_match('/\.(?:png|jpg|jpeg|gif)$/', $_SERVER["REQUEST_URI"])) {
       
     4     return false;
       
     5 } else {
       
     6     include __DIR__ . '/index.php';
       
     7 }