b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.10) [ 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/.

Copyright:  (c)2003-2007 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Includes
require_once (dirname(__FILE__).'/../conf/_config.php') [line 15]

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__).'/_misc/_db.class.php') [line 20]

Load DB class

[ Top ]


Globals
DB   $DB [line 27]

Database connection (connection opened here)

Default value:  & new DB( $db_config )

[ Top ]



Documentation generated on Tue, 20 May 2008 01:39:01 +0200 by phpDocumentor 1.4.2