-
Notifications
You must be signed in to change notification settings - Fork 39
/
config.php
executable file
·47 lines (41 loc) · 996 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
41
42
43
44
45
46
47
<?php
/**
* @author Nanhe Kumar <[email protected]>
* @version 1.0.0
* @package PHPMongoDB
*/
class Config {
public static $theme = 'default';
public static $autocomplete=false;
public static $language = array(
'english' => 'English',
'german' => 'German',
);
public static $server=array(
'name' => "Localhost",
'server'=>false,
'host' => "127.0.0.1",
'port'=>"27017",
'timeout'=>0,
);
public static $authentication = array(
'authentication'=>false,
'user' => 'admin',
'password' => 'admin'
);
public static $authorization = array(
'readonly'=>false,
);
/**
*
* @var array
* @link http://php.net/manual/mongoclient.construct.php (for more detail)
*/
public static $connection = array(
'server' => "", //mongodb://localhost:27017
'options' => array(
'replicaSet' => false,
), //
);
}
?>