-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
40 lines (37 loc) · 942 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
<?php
/**
* Custom
*/
date_default_timezone_set("UTC");
/**
* End Custom
*/
/* The Configuration File - Be careful while editing */
$cfg = array(
'db' => array(
'host' => getenv('OPENSHIFT_MYSQL_DB_HOST'),
'port' => getenv('OPENSHIFT_MYSQL_DB_PORT'),
'username' => getenv('OPENSHIFT_MYSQL_DB_USERNAME'),
'password' => getenv('OPENSHIFT_MYSQL_DB_PASSWORD'),
'dbname' => "lobby",
'prefix' => 'l_'
),
/**
* The GLOBAL unique ID of YOUR Lobby installation
*/
'lobbyID' => getenv('LOBBY_lobbyID'),
/**
* A Secure Identity of YOUR Lobby Installation.
* Never reveal it TO ANYONE
*/
'secureID' => getenv('LOBBY_secureID'),
'debug' => false,
'server_check' => false,
'lobby_url' => "https://lobby.subinsb.com"
);
if($_SERVER["HTTP_HOST"] === "server.lobby".".sim"){
unset($cfg['lobby_url']);
}
return $cfg;
/* DO NOT EDIT THIS FILE IF YOU DON'T KNOW WHAT YOU'RE DOING - Subin */
?>