Drupal investigation

index.php 549B

1234567891011121314151617181920212223
  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);