web/public/index.php

9 lines
282 B
PHP
Raw Normal View History

2016-04-03 13:10:16 +00:00
<?php
if (is_file(__DIR__ . $_SERVER["REQUEST_URI"]) && preg_match('/\.(?:png|jpg|jpeg|gif|css|js|eot|svg|ttf|woff|woff2|map)$/', $_SERVER["REQUEST_URI"])) {
2016-04-03 13:10:16 +00:00
return false; // serve the requested resource as-is.
}
# Magic be there
include __DIR__ . '/../src/bootstrap.php';