b2evolution

Multilingual multiuser multiblog engine

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

Procedural File: _connect_db.inc.php

Source Location: /blogs/inc/_connect_db.inc.php

Page Details

This files instantiates the global $DB object and connects to the database.

This file is part of the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.

Version:  $Id: _connect_db.inc.php,v 1.10 2008/01/21 09:35:23 fplanque Exp $
Copyright:  (c)2003-2008 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Includes
require_once (dirname(__FILE__).'/../conf/_config.php') [line 17]

Load configuration

NOTE: fp> config should always be loaded as a whole because of the prequire"_once" stuff not working very well on Windows

[ Top ]

require_once (dirname(__FILE__).'/_core/model/db/_db.class.php') [line 22]

Load DB class

[ Top ]


Globals
DB   $DB [line 29]

Database connection (connection opened here)

Default value:  & new DB( $db_config )

[ Top ]



Documentation generated on Sat, 06 Mar 2010 03:30:40 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).