hubl/router.php
2018-09-06 11:25:52 +02:00

8 lines
178 B
PHP

<?php
if (PHP_SAPI == 'cli-server') {
$url = parse_url($_SERVER['REQUEST_URI']);
$file = __DIR__ . $url['path'];
if (is_file($file)) return false;
}
include "index.html";