-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.php
45 lines (40 loc) · 1.47 KB
/
configuration.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
<?php
// since singletons are evil, and DI requires more boilerplate, we just make the simplest approach possible
// and you can just instatiate this everywhere to have that singleton feeling.
class Configuration
{
public static $version = "1.0";
public static $productName = "Hacker Bar";
// THE DATABASE SETTINGS ARE STORED IN THE MEEKRODB CLASS!
public static $plugins = Array();
public function __construct()
{
// in relevant order...
$this->plugins[] = "shop";
$this->plugins[] = "accountinformation";
$this->plugins[] = "accountmanagement";
$this->plugins[] = "giveandtake";
$this->plugins[] = "foghorn";
$this->plugins[] = "soundboard";
$this->plugins[] = "spacecams";
$this->plugins[] = "youtube";
$this->plugins[] = "soma";
$this->plugins[] = "statistics";
$this->plugins[] = "restock";
$this->plugins[] = "undo";
$this->plugins[] = "spacestate";
$this->plugins[] = "sessions";
$this->plugins[] = "help";
$this->plugins[] = "about";
/*$this->plugins[] = "deposit";
$this->plugins[] = "account";
$this->plugins[] = "stock";
$this->plugins[] = "buy";
$this->plugins[] = "deposit";
$this->plugins[] = "report";
$this->plugins[] = "unbuy";
$this->plugins[] = "help";
$this->plugins[] = "transfer"; // take, give
$this->plugins[] = "withdraw";*/
}
}