b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.8) [ class tree: main ] [ index: main ] [ all elements ]

Source for file _connect_db.inc.php

Documentation is available at _connect_db.inc.php

  1. <?php
  2. /**
  3.  * This files instantiates the global {@link $DB} object and connects to the database.
  4.  *
  5.  * This file is part of the evoCore framework - {@link http://evocore.net/}
  6.  * See also {@link http://sourceforge.net/projects/evocms/}.
  7.  *
  8.  * @copyright (c)2003-2006 by Francois PLANQUE - {@link http://fplanque.net/}
  9.  */
  10.  
  11. /**
  12.  * Load basic settings
  13.  */
  14. require_once dirname(__FILE__).'/../conf/_basic_config.php';
  15.  
  16. /**
  17.  * Load DB class
  18.  */
  19. require_once dirname(__FILE__).'/_misc/_db.class.php';
  20.  
  21. /**
  22.  * Database connection (connection opened here)
  23.  *
  24.  * @global DB $DB 
  25.  */
  26. $DB new DB$db_config );
  27.  
  28. ?>

Documentation generated on Tue, 18 Dec 2007 23:11:42 +0100 by phpDocumentor 1.4.0