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 | |
---|
13 | define('CLEARBRICKS_PATH',__DIR__.'/../../inc/libs/clearbricks'); |
---|
14 | |
---|
15 | require_once __DIR__.'/../../vendor/autoload.php'; |
---|
16 | |
---|
17 | include_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.