Skip to content
Snippets Groups Projects
Select Git revision
  • issue-752
  • develop
  • master default
  • issue-677
  • issue-677-original-with-migrate
  • issue-716
  • issue-654
  • issue-732
  • issue-737
  • issue-735
  • issue-707
  • issue-706
  • issue-705
  • issue-703
  • issue-696
  • issue-690
  • issue-675
  • issue-670
  • issue-635
  • issue-404
  • 7.19
  • 2012-04-18
  • 2012-04-03
  • 2012-04-02
  • 2012-03-01
  • 2012-02-07
  • 20120207
  • 2012-01-13
  • 2012-01-12
  • 2011-12-16
  • 2011-12-05
  • 2011-11-17
  • 2011-11-14
  • 2011-11-08.2
  • 2011-11-08
  • 2011-11-01
  • 2011-10-27
  • 2011-10-06
  • 2011-10-03
  • 2011-09-19
40 results

install.php

Blame
  • Forked from UNL Information Services / UNL-CMS
    525 commits behind the upstream repository.
    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();