2 // $Id: index.php 144 2007-03-28 07:52:20Z thierry $
6 * The PHP page that serves all page requests on a Drupal installation.
8 * The routines here dispatch control to the appropriate handler, which then
9 * prints the appropriate page.
12 require_once './includes/bootstrap.inc';
13 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
15 $return = menu_execute_active_handler();
20 case MENU_ACCESS_DENIED:
21 drupal_access_denied();
23 case MENU_SITE_OFFLINE:
24 drupal_site_offline();
27 // Print any value (including an empty string) except NULL or undefined:
29 print theme('page', $return);