forked from Art-of-WiFi/UniFi-API-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.template.php
64 lines (57 loc) · 2.91 KB
/
config.template.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
56
57
58
59
60
61
62
63
64
<?php
/**
* Copyright (c) 2016, Slooffmaster
*
* This file is subject to the MIT license that is bundled
* with this package in the file LICENSE.md
*
*/
/**
* Single controller configuration
* ===============================
* Update this section with your UniFi controller details and credentials
* Remove or comment out this section when using the Multi controller configuration method
*/
$controlleruser = ''; // the user name for access to the UniFi Controller
$controllerpassword = ''; // the password for access to the UniFi Controller
$controllerurl = ''; // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
$controllerversion = ''; // the version of the Controller software, eg. '4.6.6' (must be at least 4.0.0)
/**
* Multi controller configuration
* ==============================
* Only modify and uncomment this section when NOT using the above Single controller configuration method.
* The number of controllers that can be added is unlimited, just take care to correctly increment the
* index values (0,1,2 etc.)
*
* Please remember to only have one of either two methods active!
*/
/*
$controllers[0] = [
'user' => '', // the user name for access to the UniFi Controller
'password' => '', // the password for access to the UniFi Controller
'url' => '', // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
'name' => '',
'version' => '' // the version of the Controller software, eg. '4.6.6' (must be at least 4.0.0)
];
$controllers[1] = [
'user' => '', // the user name for access to the UniFi Controller
'password' => '', // the password for access to the UniFi Controller
'url' => '', // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
'name' => '',
'version' => '' // the version of the Controller software, eg. '4.6.6' (must be at least 4.0.0)
];
$controllers[2] = [
'user' => '', // the user name for access to the UniFi Controller
'password' => '', // the password for access to the UniFi Controller
'url' => '', // full url to the UniFi Controller, eg. 'https://22.22.11.11:8443'
'name' => '',
'version' => '' // the version of the Controller software, eg. '4.6.6' (must be at least 4.0.0)
];
*/
$cookietimeout = '3600'; // time of inactivity in seconds, after which the PHP session cookie will be refreshed
// after the cookie refresh the site and data collection will need to be selected again
$theme = 'bootstrap'; // your default theme of choice, pick one from the list below:
// bootstrap, cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper
// readable, sandstone, simplex, slate, spacelab, superhero, united, yeti
$debug = false; // set to true (without quotes) to enable debug output to the browser and the PHP error log
?>