'text/css', '.js' => 'application/javascript', '.jpg' => 'image/jpg', '.png' => 'image/png' ]; $path = __DIR__ . $_SERVER['REQUEST_URI']; if (is_file($path)) { header("Content-Type: {$mimeTypes[$match[0]]}"); require $path; exit; } } require 'vendor/autoload.php'; require 'core/Bootstrap.php';