-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.php
52 lines (32 loc) · 874 Bytes
/
config.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
41
42
43
44
45
46
47
48
49
50
51
<?php
// SETUP
// Database info
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";
$dbname = "rddtsync";
// Base URL
// if on root, make it blank
// otherwise /foldername with no trailing slash
$baseurl = "/rsync";
// added for password reset emails
// your host no trailing slash
$basehost = "http://localhost";
// API location
$apiloc = "http://localhost/rsync/api/";
// Pretty URLs. Need server configured properly
$prettyurls = false;
// For password reset emails
// using smtp servers
$smtpserver = "smtp.gmail.com";
$smtpauth = true;
$smtpuser = "[email protected]";
$smtppass = "password";
$smtpenc = "ssl";
$smtpport = 465;
$fromemail = "[email protected]";
$mysql = new mysqli($dbhost, $dbuser, $dbpass, $dbname);
if($mysql->connect_errno) {
echo "database connection failure <!-- ".$mysql->connect_error." -->";
die;
}