-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathconfig.php
More file actions
executable file
·33 lines (31 loc) · 791 Bytes
/
config.php
File metadata and controls
executable file
·33 lines (31 loc) · 791 Bytes
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
<?php
/**
* For Development Purposes
*/
ini_set('display_errors', 'on');
require __DIR__ . '/../../vendor/autoload.php';
$LS = new \Fr\LS(array(
'db' => array(
'host' => 'localhost',
'port' => 3306,
'username' => 'root',
'password' => '',
'name' => 'test',
'table' => 'users',
),
'features' => array(
'auto_init' => true,
),
'pages' => array(
'no_login' => array(
'/',
'/examples/basic/reset.php',
'/examples/basic/register.php',
),
'everyone' => array(
'/examples/basic/status.php',
),
'login_page' => '/examples/basic/login.php',
'home_page' => '/examples/basic/home.php',
),
));