-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
40 lines (36 loc) · 1.11 KB
/
config.php
File metadata and controls
40 lines (36 loc) · 1.11 KB
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
$aGlobalConfig = array
(
"interface" => array
(
"appURL" => "http://virulent.pw/webtss", // Full url to WebTSS, no trailing slash or space.
"theme" => "default" // Bootstrap theme for interfaces. Themes are in /css with the naming scheme "*.bootstrap.min.css".
),
"cron" => array
(
"python2.7Location" => "/usr/bin/python2.7", // Path to python 2.7, no trailing slash or space.
"enableWebAccess" => True // Allow cron triggering through the url.
),
"recaptcha" => array
(
// Get it from here: https://www.google.com/recaptcha/intro/index.html
"enabled" => False,
"siteKey" => "",
"secretKey" => ""
),
"database" => array
(
"host" => "localhost",
"port" => "3306",
"username" => "<DB USERNAME>",
"password" => "<DB PASSWORD>",
"database" => "webtss"
)
);
// Configuration pre-processing.
// Don't touch this.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
if(!file_exists(dirname(__FILE__).'/css/'.$aGlobalConfig['interface']['theme'].'.bootstrap.min.css')) { die("The theme '".$aGlobalConfig['interface']['theme']."' does not exist."); }
?>