2001-03-10 11:07:52 +00:00
|
|
|
<?php
|
2001-10-20 18:57:09 +00:00
|
|
|
// $Id$
|
2000-05-18 19:51:59 +00:00
|
|
|
|
2004-08-21 06:42:38 +00:00
|
|
|
/**
|
|
|
|
* @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.
|
|
|
|
*/
|
|
|
|
|
2004-08-12 18:00:11 +00:00
|
|
|
include_once 'includes/bootstrap.inc';
|
2003-11-18 19:44:36 +00:00
|
|
|
drupal_page_header();
|
2004-08-12 18:00:11 +00:00
|
|
|
include_once 'includes/common.inc';
|
2000-05-18 19:51:59 +00:00
|
|
|
|
2003-10-31 19:34:03 +00:00
|
|
|
fix_gpc_magic();
|
2003-09-28 10:51:40 +00:00
|
|
|
|
2004-04-21 13:56:38 +00:00
|
|
|
$status = menu_execute_active_handler();
|
|
|
|
switch ($status) {
|
2004-06-18 15:04:37 +00:00
|
|
|
case MENU_NOT_FOUND:
|
|
|
|
drupal_not_found();
|
2004-04-21 13:56:38 +00:00
|
|
|
break;
|
2004-06-18 15:04:37 +00:00
|
|
|
case MENU_ACCESS_DENIED:
|
2004-04-21 13:56:38 +00:00
|
|
|
drupal_access_denied();
|
|
|
|
break;
|
2003-01-06 19:51:01 +00:00
|
|
|
}
|
2001-11-01 11:00:51 +00:00
|
|
|
|
2003-08-12 15:57:16 +00:00
|
|
|
drupal_page_footer();
|
|
|
|
|
2000-05-19 11:20:58 +00:00
|
|
|
?>
|