| 1 |
<?php
|
| 2 |
// $Id: index.php,v 1.98 2009/02/08 20:27:51 webchick Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* The PHP page that serves all page requests on a Drupal installation.
|
| 7 |
*
|
| 8 |
* The routines here dispatch control to the appropriate handler, which then
|
| 9 |
* prints the appropriate page.
|
| 10 |
*
|
| 11 |
* All Drupal code is released under the GNU General Public License.
|
| 12 |
* See COPYRIGHT.txt and LICENSE.txt.
|
| 13 |
*/
|
| 14 |
|
| 15 |
/**
|
| 16 |
* Root directory of Drupal installation.
|
| 17 |
*/
|
| 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();
|