composer install. If you don\'t have composer installed you really should, see http://getcomposer.org for more information'; exit; } require_once __DIR__ . '/autoload.php'; use Symfony\Component\HttpFoundation\Request; // Fork has not yet been installed $installer = dirname(__FILE__) . '/install/cache'; $request = Request::createFromGlobals(); if( file_exists($installer) && is_dir($installer) && !file_exists($installer . '/installed.txt') && substr($request->getRequestURI(), 0, 8) != '/install' ) { // check .htaccess if(!file_exists('.htaccess') && !isset($_GET['skiphtaccess'])) { echo 'Your install is missing the .htaccess file. Make sure you show hidden files while uploading Fork CMS. Read the article about webservers for further information. Skip .htaccess check'; exit; } header('Location: /install'); exit; } require_once __DIR__ . '/app/AppKernel.php'; if (extension_loaded('newrelic')) { newrelic_set_appname('nomacool.fr - production'); } $kernel = new AppKernel(); $response = $kernel->handle($request); if($response->getCharset() === null && $kernel->getContainer() != null) $response->setCharset($kernel->getContainer()->getParameter('kernel.charset')); $response->send();