drupal up and running

This commit is contained in:
2021-03-15 15:00:01 +01:00
parent baea2a05dd
commit f463699b7b
31 changed files with 14622 additions and 12 deletions

View File

@@ -1,5 +1,22 @@
<?php
phpinfo();
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* All Drupal code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
*/
?>
use Drupal\Core\DrupalKernel;
use Symfony\Component\HttpFoundation\Request;
$autoloader = require_once 'autoload.php';
$kernel = new DrupalKernel('prod', $autoloader);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);