-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.sample.php
42 lines (27 loc) · 1.45 KB
/
config.sample.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
use LAN\Config;
/**********************************************************************************************************************
* autoload and include path
*/
require __DIR__ . '/vendor/autoload.php';
/**********************************************************************************************************************
* php related settings
*/
ini_set('display_errors', false);
error_reporting(E_ALL);
/**********************************************************************************************************************
* DB related settings
*/
Config::set('DB_HOST' , 'localhost');
Config::set('DB_USER' , 'user');
Config::set('DB_PASSWORD' , 'password');
Config::set('DB_NAME' , 'lan');
#Config::set('SERVER_ADDR', '192.168.1.x'); //Set this manually if the application can't find it.
#Config::set('SERVER_ETH', 'eth0'); //The ethernet port to use (for automatic calls). MAC servers should use something like en1
#Config::set('SERVER_PORT', 8000); //Websockets port to use
#Config::set('WWW_PATH', '/lan/www/'); //URL relativie to the server's ip address to the www directory.
/**********************************************************************************************************************
* Steam related settings
*/
#Config::set('STEAM_API_KEY', 'your-steam-api-key'); //Required to sync with steam. Get an api key here: http://steamcommunity.com/dev/apikey
#Config::set('STEAM_CACHE_TTL_PROFILES', 10); //10 seconds