2016-04-03 13:10:16 +00:00
|
|
|
<?php
|
|
|
|
|
2016-06-19 17:48:25 +00:00
|
|
|
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';
|