mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-14 17:11:34 +01:00
Remove CLI Server
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user