hubl/router.php

8 lines
178 B
PHP
Raw Normal View History

2018-09-06 09:25:52 +00:00
<?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";