summaryrefslogtreecommitdiff
path: root/config.sample.php
blob: 6d02fa21601b5dcd1336cf33d9f79d9e682c3c8f (plain)
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
<?php

/**
 * Copy this file to config.php.
 *
 * plugin_conf will always require the `root_path` to the CMS you want to
 * authenticate with. Some systems require additional information; Drupal
 * needs the site directory (usually `default`).
 */

$config = [
 'log_path' => 'logs/',
 'plugin' => 'PLUGIN',
 'plugin_conf' => [
   'root_path' => '</path/to/site>',
 ],

 // Remove this section if you are not using session authentication.
 'session' => [
   'mysql' => [
     'dsn' => 'mysql:host=localhost;dbname=DATABASE;charset=utf8',
     'username' => 'USER',
     'password' => 'PASSWORD',
     'tablename' => 'TABLE',
   ],
   'timeout' => 60,
 ],
];