comparison index.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c75dbcec494b
1 <?php
2
3 /**
4 * @file
5 * The PHP page that serves all page requests on a Drupal installation.
6 *
7 * All Drupal code is released under the GNU General Public License.
8 * See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
9 */
10
11 use Drupal\Core\DrupalKernel;
12 use Symfony\Component\HttpFoundation\Request;
13
14 $autoloader = require_once 'autoload.php';
15
16 $kernel = new DrupalKernel('prod', $autoloader);
17
18 $request = Request::createFromGlobals();
19 $response = $kernel->handle($request);
20 $response->send();
21
22 $kernel->terminate($request, $response);