RSS

(root)/drupal/7-fic : 14.1.14 : install.php

« back to all changes in this revision

Viewing changes to install.php

bzr
2008-12-20 19:00:05
This revision was merged to the branch mainline in revision 316.
Revision ID: bzr@web3.fourkitchens.com-20081220190005-uq28yg3zmtg98v4w
Scheduled update from HEAD: Sat Dec 20 19:00:05 GMT 2008

Show diffs side-by-side

added added

removed removed

1
1
<?php
2
 
// $Id: install.php,v 1.146 2008/11/24 10:41:39 dries Exp $
 
2
// $Id: install.php,v 1.147 2008/12/20 18:24:32 dries Exp $
3
3
 
4
4
/**
5
5
 * Root directory of Drupal installation.
26
26
 */
27
27
function install_main() {
28
28
  // The user agent header is used to pass a database prefix in the request when
29
 
  // running tests.  However, for security reasons, it is imperative that no
 
29
  // running tests. However, for security reasons, it is imperative that no
30
30
  // installation be permitted using such a prefix.
31
31
  if (preg_match("/^simpletest\d+$/", $_SERVER['HTTP_USER_AGENT'])) {
32
32
    header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
69
69
    require_once DRUPAL_ROOT . '/includes/cache.inc';
70
70
    $conf['cache_inc'] = 'includes/cache.inc';
71
71
 
72
 
    // Initialize the database system.  Note that the connection
 
72
    // Initialize the database system. Note that the connection
73
73
    // won't be initialized until it is actually requested.
74
74
    require_once DRUPAL_ROOT . '/includes/database/database.inc';
75
75
 
741
741
      // Build menu to allow clean URL check.
742
742
      menu_rebuild();
743
743
 
744
 
      // Cache a fully-built schema.  This is necessary for any
 
744
      // Cache a fully-built schema. This is necessary for any
745
745
      // invocation of index.php because: (1) setting cache table
746
746
      // entries requires schema information, (2) that occurs during
747
747
      // bootstrap before any module are loaded, so (3) if there is no

Loggerhead 1.17 is a web-based interface for Bazaar branches