Permalink
Browse files

Merge pull request #40 from gggeek/improved_index

Better whitespace and add one link to external docs
  • Loading branch information...
2 parents 63f0bff + 5b1cd74 commit 3af1f1ad78264f9b36eb250a14ce4301d556e7ab @andrerom andrerom committed Feb 19, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 web/index.php
View
@@ -5,15 +5,14 @@
$loader = require_once __DIR__ . '/../ezpublish/autoload.php';
-
// Use APC for autoloading to improve performance:
// Change 'ezpublish' to a unique prefix in order to prevent cache key conflicts
// with other applications also using APC.
//
// ( Not needed when using `php composer.phar dump-autoload --optimize` )
/*
-$loader = new ApcClassLoader('ezpublish', $loader);
-$loader->register(true);
+$loader = new ApcClassLoader( 'ezpublish', $loader );
+$loader->register( true );
*/
require_once __DIR__ . '/../ezpublish/EzPublishKernel.php';
@@ -24,6 +23,7 @@
$kernel = new EzPublishCache( $kernel );
$request = Request::createFromGlobals();
// Uncomment the following if your application is behind a reverse proxy you manage and trust.
+// (see http://fabien.potencier.org/article/51/create-your-own-framework-on-top-of-the-symfony2-components-part-2)
//Request::trustProxyData();
$response = $kernel->handle( $request );
$response->send();

0 comments on commit 3af1f1a

Please sign in to comment.