-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathconfig.inc
More file actions
49 lines (41 loc) · 1.09 KB
/
config.inc
File metadata and controls
49 lines (41 loc) · 1.09 KB
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
<?php
/*
* Configuration options:
* username, password and server installation path.
*/
class Config {
/**
* Page/site administration and location information.
*
* @staticvar String ADMIN_USER Administrator's login name
* @staticvar String ADMIN_PASSWORD Administrator's password, both in plain text
* @staticvar String INSTALLATION_BASEPATH Location of server.php file.
* Localhost by default.
*/
private static $ADMIN_USER = 'admin';
// SHA-1 Hash for secret
private static $ADMIN_PASSWORD = '25d563e27fea7bd403527fdbb64b6727fd0c853c';
private static $INSTALLATION_BASEPATH = 'http://localhost/';
/**
* Simple static getters for config.
*
* @return String Returns Admin user name
*/
public static function getUser() {
return self::$ADMIN_USER;
}
/**
*
* @return String Returns Admin password
*/
public static function getPassword() {
return self::$ADMIN_PASSWORD;
}
/**
*
* @return String Returns Installation Basepath
*/
public static function getInstallPath() {
return self::$INSTALLATION_BASEPATH;
}
}