index.php 529 Bytes
Newer Older
Dries's avatar
   
Dries committed
1
<?php
Dries's avatar
Dries committed
2

Dries's avatar
   
Dries committed
3
4
5
6
7
8
/**
 * @file
 * The PHP page that serves all page requests on a Drupal installation.
 *
 * The routines here dispatch control to the appropriate handler, which then
 * prints the appropriate page.
9
10
11
 *
 * All Drupal code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt.
Dries's avatar
   
Dries committed
12
13
 */

14
15
16
/**
 * Root directory of Drupal installation.
 */
17
define('DRUPAL_ROOT', getcwd());
18
19

require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
20
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
21
menu_execute_active_handler();