This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.php
80 lines (67 loc) · 1.74 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
namespace UserManager;
/**
* Class de la configuration de la class UserManager
*
* @package UserManager
* @author Quentinix <[email protected]>
*/
class Config
{
// phpcs:disable PEAR.Commenting
private $configSqlHost = "127.0.0.1";
private $configSqlUser = "root";
private $configSqlPass = "";
private $configSqlDb = "usermanager";
private $configSqlTableUser = "um_user";
private $configSqlTableSession = "um_session";
private $configSqlTableRecovery = "um_recovery";
private $configSqlTablePermlabel = "um_permlabel";
private $configSessionExpire = 86400;
private $configRecoveryExpire = 900;
private $configSeed = "54987-90400-93605-34136-24507-68510";
public function getConfigSqlHost()
{
return $this->configSqlHost;
}
public function getConfigSqlUser()
{
return $this->configSqlUser;
}
public function getConfigSqlPass()
{
return $this->configSqlPass;
}
public function getConfigSqlDb()
{
return $this->configSqlDb;
}
public function getConfigSqlTableUser()
{
return $this->configSqlTableUser;
}
public function getConfigSqlTableSession()
{
return $this->configSqlTableSession;
}
public function getConfigSqlTablePermlabel()
{
return $this->configSqlTablePermlabel;
}
public function getConfigSessionExpire()
{
return $this->configSessionExpire;
}
public function getConfigRecoveryExpire()
{
return $this->configRecoveryExpire;
}
public function getConfigSqlTableRecovery()
{
return $this->configSqlTableRecovery;
}
public function getConfigSeed()
{
return $this->configSeed;
}
}