zxc111160
發表於 2014-7-31 20:38:37
我看的时候已经看不了呢~
tgy001002
發表於 2018-8-10 08:40:55
<?php
// Delegate static file requests back to the PHP built-in webserver
if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))
) {
return false;
}
chdir(dirname(__DIR__));
require 'vendor/autoload.php';
/** @var \Interop\Container\ContainerInterface $container */
$container = require 'config/container.php';
\LosMiddleware\LosLog\ErrorLogger::registerHandlers();
\LosMiddleware\LosLog\ExceptionLogger::registerHandlers();
/** @var \Zend\Expressive\Application $app */
$app = $container->get(\Zend\Expressive\Application::class);
$app->run();