hubl/router.php
2018-09-12 01:34:13 +02:00

9 lines
179 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";