cms/drupal/index.php
changeset 541 e756a8c72c3d
equal deleted inserted replaced
540:07239de796bb 541:e756a8c72c3d
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * @file
       
     5  * The PHP page that serves all page requests on a Drupal installation.
       
     6  *
       
     7  * The routines here dispatch control to the appropriate handler, which then
       
     8  * prints the appropriate page.
       
     9  *
       
    10  * All Drupal code is released under the GNU General Public License.
       
    11  * See COPYRIGHT.txt and LICENSE.txt.
       
    12  */
       
    13 
       
    14 /**
       
    15  * Root directory of Drupal installation.
       
    16  */
       
    17 define('DRUPAL_ROOT', getcwd());
       
    18 
       
    19 require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
       
    20 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
       
    21 menu_execute_active_handler();