summaryrefslogtreecommitdiff
path: root/plugins/session/config.sample.php
diff options
context:
space:
mode:
authorChristoph Burschka2014-01-16 19:34:39 +0100
committerChristoph Burschka2014-01-16 19:34:39 +0100
commit841bcac241bac980d5e943793ffda3372d7f8f82 (patch)
tree93ffd23c4340426358ce3ee86869cd785a195cd8 /plugins/session/config.sample.php
parentFinally remove unused setpass/register hooks. (diff)
downloadejabberd-auth-php-841bcac241bac980d5e943793ffda3372d7f8f82.tar.gz
Big multiple-plugins patch (fixes #2).
Diffstat (limited to 'plugins/session/config.sample.php')
-rw-r--r--plugins/session/config.sample.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/session/config.sample.php b/plugins/session/config.sample.php
new file mode 100644
index 0000000..8677cf3
--- /dev/null
+++ b/plugins/session/config.sample.php
@@ -0,0 +1,17 @@
+<?php
+
+/**
+ * This configuration file is used only by the RPC script.
+ */
+
+$config = [
+ 'plugin' => ''
+ 'config' => ['root_path' => '/path/to/site'],
+ 'mysql' => [
+ 'dsn' => 'mysql:host=localhost;dbname=DATABASE;charset=utf8',
+ 'username' => 'USER',
+ 'password' => 'PASSWORD',
+ 'table' => 'TABLE',
+ ],
+ ],
+];