-
Notifications
You must be signed in to change notification settings - Fork 0
/
users_config.php
54 lines (45 loc) · 1.41 KB
/
users_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
<?php
/* including local app config */
require_once(__DIR__ . '/config.php');
/**
* You must fill it in with some random string
* this protects some of your user's data when sent over the network
* and must be different from other sites
*/
UserConfig::$SESSION_SECRET = $randomness;
/**
* Database connectivity
*/
UserConfig::$mysql_db = $mysql_db;
UserConfig::$mysql_user = $mysql_user;
UserConfig::$mysql_password = $mysql_password;
#UserConfig::$mysql_host = 'localhost';
#UserConfig::$mysql_port = '...port...';
#UserConfig::$mysql_socket = $mysql_socket;
/**
* Username and password registration configuration
* just have these lines or comment them out if you don't want regular form registration
*/
UserConfig::loadModule('usernamepass');
new UsernamePasswordAuthenticationModule();
/**
* User IDs of admins for this instance (to be able to access dashboard at /users/admin/)
*/
UserConfig::$admins[] = 1; // usually first user has ID of 1
/*
* Name of your application to be used in UI and emails to users
*/
UserConfig::$appName = 'Bootstrap 3 app';
/**
* StartupAPI theme
*/
UserConfig::$theme = 'awesome';
/**
* If specified, StartupAPI::head() will include this Twitter Bootstrap Theme instead of default one
*/
UserConfig::$bootstrapTheme = 'sandstone';
/**
* Enables developer tools beyond simple debugging
* like Bootswatch theme switcher in 'awesome' theme, for example
*/
UserConfig::$DEVMODE = TRUE;