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