-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
55 lines (43 loc) · 1.39 KB
/
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
52
53
54
55
<?php
class Config {
public $database;
public $auth;
public $page;
public $email;
public $api;
function __construct() {
require_once(ROOT . "/../passwords.php");
/**
* Database
*/
$this->database["host"] = "localhost";
$this->database["user"] = "receipts";
$this->database["pass"] = $database;
$this->database["db"] = "dev-receipts2";
/**
*Auth
*/
$this->auth["xenforoDir"] = "/home/soc_lsucs/lsucs.org.uk/htdocs";
$this->auth["xenforo_committee_group_id"] = 4;
/**
* Page Defaults
*/
$this->page["default_page"] = "issue";
$this->page["default_title"] = "Issue";
/**
* Email Settings
*/
$this->email["user"] = "[email protected]";
$this->email["pass"] = $email;
$this->email["host"] = "ssl://smtp.gmail.com";
$this->email["port"] = "465";
$this->email["cc"] = "[email protected]";
/**
* API Settings
*/
$this->api["api_key"] = $api;
$this->api["lan_api_submit_url"] = "http://lan.lsucs.org.uk/index.php?page=api&action=issuetickets";
$this->api["lan_api_refund_url"] = "http://lan.lsucs.org.uk/index.php?page=api&action=deletetickets";
}
}
?>