Revision 2984:b81d45a0e150,
1.4 KB
checked in by Nicolas <nikrou77@…>, 10 years ago
(diff) |
Behat - add a new configuration key in behat.yml file : user_id_to_not_delete
So you can use an existing dotclear installation and not delete superadmin user
Use cookie session name provide in dotclear configuration file
|
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 | $__autoload = array(); |
---|
18 | $__autoload['dbStruct'] = CLEARBRICKS_PATH.'/dbschema/class.dbstruct.php'; |
---|
19 | $__autoload['dbSchema'] = CLEARBRICKS_PATH.'/dbschema/class.dbschema.php'; |
---|
20 | $__autoload['pgsqlSchema'] = CLEARBRICKS_PATH.'/dbschema/class.pgsql.dbschema.php'; |
---|
21 | $__autoload['mysqlSchema'] = CLEARBRICKS_PATH.'/dbschema/class.mysql.dbschema.php'; |
---|
22 | $__autoload['mysqliSchema'] = CLEARBRICKS_PATH.'/dbschema/class.mysqli.dbschema.php'; |
---|
23 | $__autoload['dbLayer'] = CLEARBRICKS_PATH.'/dblayer/dblayer.php'; |
---|
24 | $__autoload['mysqlConnection'] = CLEARBRICKS_PATH.'/dblayer/class.mysql.php'; |
---|
25 | $__autoload['mysqliConnection'] = CLEARBRICKS_PATH.'/dblayer/class.mysqli.php'; |
---|
26 | $__autoload['pgsqlConnection'] = CLEARBRICKS_PATH.'/dblayer/class.pgsql.php'; |
---|
27 | $__autoload['crypt'] = CLEARBRICKS_PATH.'/common/lib.crypt.php'; |
---|
28 | |
---|
29 | |
---|
30 | $loader = new \Composer\Autoload\ClassLoader(); |
---|
31 | $loader->addClassMap($__autoload); |
---|
32 | $loader->register(); |
---|
Note: See
TracBrowser
for help on using the repository browser.