-
Notifications
You must be signed in to change notification settings - Fork 5
/
config_example.php
50 lines (44 loc) · 1.14 KB
/
config_example.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
<?php
/**
* This file contains the settings for your database, error reporting
* and different paths and URL to your Lagan app.
* Add your database and path info and rename it to config.php for your app to work.
*/
/**
* @var string[] An array with your MySQL database configuration.
*/
$db_config = array(
'servername' => '',
'username' => '',
'password' => '',
'database' => ''
);
/**
* @var string[] An array with admin usernames (key) and their passwords (value).
*/
$users = array(
'admin' => 'password'
);
/**
* @var string[] An array of the paths protected by the user password combination.
*/
$protected = array(
'/admin'
);
/**
* @const ERROR_REPORTING Enable or disable error reporting.
*/
define('ERROR_REPORTING', true);
/**
* @const ROOT_PATH The server path to the root directory of your Lagan app (Should not have a trailing slash).
*/
define('ROOT_PATH', '');
/**
* @const APP_PATH The server path to the public directory of your Lagan app (Should not have a trailing slash).
*/
define('APP_PATH', '');
/**
* @const APP_URL The URL of your Lagan app (Should not have a trailing slash).
*/
define('APP_URL', '');
?>