[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
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-2007 by Francois PLANQUE - {@link http://fplanque.net/} 9 * 10 * @version $Id: _connect_db.inc.php,v 1.9 2007/06/25 10:58:51 fplanque Exp $ 11 */ 12 13 /** 14 * Load configuration 15 * NOTE: fp> config should always be loaded as a whole because of the prequire"_once" stuff not working very well on Windows 16 */ 17 require_once dirname(__FILE__).'/../conf/_config.php'; 18 19 /** 20 * Load DB class 21 */ 22 require_once dirname(__FILE__).'/_core/model/db/_db.class.php'; 23 24 /** 25 * Database connection (connection opened here) 26 * 27 * @global DB $DB 28 */ 29 $DB = & new DB( $db_config ); 30 31 /* 32 * $Log: _connect_db.inc.php,v $ 33 * Revision 1.9 2007/06/25 10:58:51 fplanque 34 * MODULES (refactored MVC) 35 * 36 */ 37 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |