-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_example.php
40 lines (30 loc) · 1.12 KB
/
config_example.php
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
<?php
echo "!!! YOU NEED TO RENAME THIS FILE WITH config.php, AND REMOVE THIS 2 LINES !!!";
exit;
// Voxibot configuration file
$config['db']['hostname'] = "localhost";
$config['db']['user'] = "root";
$config['db']['password'] = "";
$config['db']['name'] = "voxibot";
$config['mail']['smtpauth'] = true;
$config['mail']['smtpsecure'] = "ssl";
$config['mail']['host'] = "smtp.eu.mailgun.org";
$config['mail']['port'] = 465;
$config['mail']['user'] = "[email protected]";
$config['mail']['password'] = "****";
$config['mail']['address'] = "[email protected]";
$config['mail']['hidden'] = "[email protected]";
//$config['mail']['fromname'] = "VOXIBOT";
//$config['mail']['from'] = "[email protected]";
$config['recognize']['api'] = "google_dialogflow";
$config['recognize']['language'] = "fr";
$config['chatbot']['api'] = "dialogflow2";
$config['chatbot']['authorization'] = "";
$config['google']['dialogflow'] = "****"; // Dialogflow V1
$config['google']['speech'] = "****"; // Facebook
$headers = apache_request_headers();
if (isset($headers['Voximal-Parameter']))
{
@include("configs/".$headers['Voximal-Parameter'].".php");
}
?>