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

Dries's avatar
 
Dries committed
4
include_once 'includes/bootstrap.inc';
Dries's avatar
 
Dries committed
5
drupal_page_header();
Dries's avatar
 
Dries committed
6
include_once 'includes/common.inc';
Dries's avatar
Dries committed
7

Dries's avatar
 
Dries committed
8
fix_gpc_magic();
9

Dries's avatar
 
Dries committed
10 11
$status = menu_execute_active_handler();
switch ($status) {
Dries's avatar
 
Dries committed
12 13
  case MENU_NOT_FOUND:
    drupal_not_found();
Dries's avatar
 
Dries committed
14
    break;
Dries's avatar
 
Dries committed
15
  case MENU_ACCESS_DENIED:
Dries's avatar
 
Dries committed
16 17
    drupal_access_denied();
    break;
Dries's avatar
 
Dries committed
18
}
Dries's avatar
 
Dries committed
19

Dries's avatar
 
Dries committed
20 21
drupal_page_footer();

Kjartan's avatar
 
Kjartan committed
22
?>