| 1 |
lars |
1 |
<?php
|
|
|
2 |
/**This is included from unit tests to initialize an ADOdb connection.
|
|
|
3 |
*
|
|
|
4 |
* LICENSE:
|
|
|
5 |
* This source file is subject to version 2.1 of the LGPL
|
|
|
6 |
* that is bundled with this package in the file LICENSE.
|
|
|
7 |
*
|
|
|
8 |
* COPYRIGHT:
|
|
|
9 |
* Empowered Media
|
|
|
10 |
* http://www.empoweredmedia.com
|
|
|
11 |
* 481 Eighth Avenue Suite 1530
|
|
|
12 |
* New York, NY 10001
|
|
|
13 |
*
|
|
|
14 |
* @copyright Empowered Media 2006
|
|
|
15 |
* @license http://www.gnu.org/copyleft/lesser.html LGPL Version 2.1
|
|
|
16 |
* @author Lukas Feiler <lukas.feiler@lukasfeiler.com>
|
|
|
17 |
* @package XML_Query2XML
|
|
|
18 |
* @version $Id: ADOdbException_db_init.php 257863 2008-04-18 23:50:27Z lukasfeiler $
|
|
|
19 |
*/
|
|
|
20 |
|
|
|
21 |
require_once dirname(dirname(__FILE__)) . '/settings.php';
|
|
|
22 |
require_once 'adodb/adodb.inc.php';
|
|
|
23 |
require_once 'adodb/adodb-exceptions.inc.php';
|
|
|
24 |
$db = NewADOConnection(DSN);
|
|
|
25 |
?>
|