forked from zer.ooo/web
9 lines
278 B
PHP
9 lines
278 B
PHP
|
<?php
|
||
|
|
||
|
if (is_file(__DIR__ . $_SERVER["REQUEST_URI"]) && preg_match('/\.(?:png|jpg|jpeg|gif|css|js|eot|svg|ttf|woff|woff2)$/', $_SERVER["REQUEST_URI"])) {
|
||
|
return false; // serve the requested resource as-is.
|
||
|
}
|
||
|
|
||
|
# Magic be there
|
||
|
include __DIR__ . '/../src/bootstrap.php';
|