index.php 537 Bytes
Newer Older
1
<?php
2
// $Id$
Dries's avatar
Dries committed
3

4 5 6 7 8 9
/**
 * @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.
10 11 12
 *
 * All Drupal code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt.
13 14
 */

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

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