index.php 549 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * @file
  4. * The PHP page that serves all page requests on a Drupal installation.
  5. *
  6. * All Drupal code is released under the GNU General Public License.
  7. * See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
  8. */
  9. use Drupal\Core\DrupalKernel;
  10. use Symfony\Component\HttpFoundation\Request;
  11. $autoloader = require_once 'autoload.php';
  12. $kernel = new DrupalKernel('prod', $autoloader);
  13. $request = Request::createFromGlobals();
  14. $response = $kernel->handle($request);
  15. $response->send();
  16. $kernel->terminate($request, $response);