Skip to content
Snippets Groups Projects
Select Git revision
  • 0e13ded641a91bdea5c85b0800f75cf1989690ef
  • 3.9 default
  • develop
  • 6.0
  • 5.0
  • 4.0
  • scrutinizer-patch-4
  • scrutinizer-patch-3
  • scrutinizer-patch-2
  • scrutinizer-patch-1
  • 3.7
  • 3.8
  • 3.6
  • 3.9_backported
  • 3.8_backported
  • 3.7_backported
  • 3.5
  • 3.6_backported
  • 3.5_backported
  • 3.4
  • 3.3_backported
  • 6.0.4
  • 6.0.3
  • 5.0.7
  • 6.0.2
  • 6.0.1
  • 5.0.6
  • 6.0.0
  • 5.0.5
  • 6.0.0-rc
  • 5.0.4
  • 6.0.0-beta
  • 5.0.3
  • 4.0.6
  • 5.0.2
  • 5.0.1
  • 4.0.5
  • 5.0.0
  • 4.0.4
  • 5.0.0-rc2
  • 5.0.0-rc1
41 results

ImportTest.php

Blame
  • install.php 688 B
    <?php
    
    /**
     * @file
     * Initiates a browser-based installation of Drupal.
     */
    
    /**
     * Root directory of Drupal installation.
     */
    define('DRUPAL_ROOT', getcwd());
    
    /**
     * Global flag to indicate that site is in installation mode.
     */
    define('MAINTENANCE_MODE', 'install');
    
    // Exit early if running an incompatible PHP version to avoid fatal errors.
    if (version_compare(PHP_VERSION, '5.2.4') < 0) {
      print 'Your PHP installation is too old. Drupal requires at least PHP 5.2.4. See the <a href="http://drupal.org/requirements">system requirements</a> page for more information.';
      exit;
    }
    
    // Start the installer.
    require_once DRUPAL_ROOT . '/includes/install.core.inc';
    install_drupal();