Remove CLI Server

This commit is contained in:
José Luis Garrido Labrador
2018-10-21 20:58:58 +02:00
parent 83b5dc7fd1
commit 714c840ab5

View File

@@ -1,9 +1,9 @@
<?php <?php
$filename = __DIR__.preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']); /*$filename = __DIR__.preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']);
if (php_sapi_name() === 'cli-server' && is_file($filename)) { if (php_sapi_name() === 'cli-server' && is_file($filename)) {
return false; return false;
} }*/
require_once __DIR__ . '/src/app.php'; require_once __DIR__ . '/src/app.php';
$app->run(); $app->run();