index.php 564 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
 *
 * All Drupal code is released under the GNU General Public License.
11
 * See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
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 . '/core/includes/bootstrap.inc';
20
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
21
menu_execute_active_handler();