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