1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<?php
/**
* config.php
*
* Configure the Bridge plugins used by this authentication system.
*
* Example 1: Use a Drupal 8 site for all hosts.
*
* $config['*'][0] = [
* 'plugin' => 'drupal8',
* 'config' => [
* 'root_path' => '/path/to/drupal8',
* 'site' => 'default',
* ],
* ];
*
* Example 2: Add a phpBB and MediaWiki subdomain (exact match):
*
* $config['forum.example.com'][0] = [
* 'plugin' => 'phpbb30',
* 'config => ['root_path' => '/path/to/phpbb'],
* ];
* $config['wiki.example.com'][0] = [
* 'plugin' => 'mediawiki',
* 'config' => ['root_path' => '/path/to/mediawiki'],
* ];
*
* Example 3: Allow session authentication (see plugins/session/README.md)
*
* $config['*'][0] = [
* 'plugin' => 'phpbb30',
* 'config => ['root_path' => '/path/to/phpbb'],
* ];
* $config['*'][1] = [
* 'plugin' => 'session',
* 'config' => [
* 'mysql' => [
* 'dsn' => 'mysql:host=localhost;dbname=DATABASE;charset=utf8',
* 'username' => 'USER',
* 'password' => 'PASSWORD',
* 'table' => 'TABLE',
* ],
* 'plugin' => 'phpbb30'
* ],
* ];
*/
$config['*'][0] = [
'plugin' => '',
'config' => [
'root_path' => '',
],
];
|