jtallant/skimpy

View on GitHub
web/index.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

use Symfony\Component\HttpFoundation\Request;

/**
 * Start the app
 */
$app = require_once __DIR__.'/../bootstrap/start.php';

/**
 * Run the app
 */
if ($app['http_cache.enabled']) {
    Request::setTrustedProxies(['127.0.0.1', '::1']);
    $app['http_cache']->run();
} else {
    $app->run();
}