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 }