Dotclear

source: features/bootstrap/autoload.php @ 2931:eed943c66a5f

Revision 2931:eed943c66a5f, 1.4 KB checked in by Nicolas <nikrou77@…>, 11 years ago (diff)

Start adding behat tests

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12
13define('CLEARBRICKS_PATH',__DIR__.'/../../inc/libs/clearbricks');
14
15require_once __DIR__.'/../../vendor/autoload.php';
16
17include_once '/var/projets/common/Log.php';
18
19$__autoload = array();
20$__autoload['dbStruct'] = CLEARBRICKS_PATH.'/dbschema/class.dbstruct.php';
21$__autoload['dbSchema'] = CLEARBRICKS_PATH.'/dbschema/class.dbschema.php';
22$__autoload['pgsqlSchema'] = CLEARBRICKS_PATH.'/dbschema/class.pgsql.dbschema.php';
23$__autoload['mysqlSchema'] = CLEARBRICKS_PATH.'/dbschema/class.mysql.dbschema.php';
24$__autoload['mysqliSchema'] = CLEARBRICKS_PATH.'/dbschema/class.mysqli.dbschema.php';
25$__autoload['dbLayer'] = CLEARBRICKS_PATH.'/dblayer/dblayer.php';
26$__autoload['mysqlConnection'] = CLEARBRICKS_PATH.'/dblayer/class.mysql.php';
27$__autoload['mysqliConnection'] = CLEARBRICKS_PATH.'/dblayer/class.mysqli.php';
28$__autoload['pgsqlConnection'] = CLEARBRICKS_PATH.'/dblayer/class.pgsql.php';
29$__autoload['crypt'] = CLEARBRICKS_PATH.'/common/lib.crypt.php';
30
31
32$loader = new \Composer\Autoload\ClassLoader();
33$loader->addClassMap($__autoload);
34$loader->register();
Note: See TracBrowser for help on using the repository browser.

Sites map