Mercurial > hg > isophonics-drupal-site
view core/scripts/drupal @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line source
#!/usr/bin/env php <?php /** * @file * Provides CLI commands for Drupal. */ use Drupal\Core\Command\QuickStartCommand; use Drupal\Core\Command\InstallCommand; use Drupal\Core\Command\ServerCommand; use Symfony\Component\Console\Application; if (PHP_SAPI !== 'cli') { return; } $classloader = require_once __DIR__ . '/../../autoload.php'; $application = new Application('drupal', \Drupal::VERSION); $application->add(new QuickStartCommand()); $application->add(new InstallCommand($classloader)); $application->add(new ServerCommand($classloader)); $application->run();