-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-template.php
90 lines (76 loc) · 1.89 KB
/
config-template.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
/**
* Configuration Values
*/
Config::set(array(
/**
* Database Driver Information
*/
'database.driver' => 'mysql',
'database.user' => 'httpd',
'database.pass' => '',
'database.host' => 'localhost',
'database.port' => '3306',
'database.name' => '',
/**
* Authentication Service Driver
*/
'auth.driver' => 'db',
/**
* User Service Driver
*/
'users.driver' => 'db',
/**
* Group Service Driver
*/
'groups.driver' => 'db',
/**
* Session Service Driver
*/
'session.driver' => 'cache',
/**
* Configuration Driver
* If you want to enable dynamically setting configuration values at runtime.
*/
'config.driver' => null,
/**
* Cache Service Driver
*/
'cache.driver' => 'filesystem',
/**
* HTTP Configuration Options
*/
// You should use this to indicate whether or not your application servers are behind a load balancer.
// If you set this to true, X-Forwarded-For and X-Forwarded-Proto will be used when processing requests.
'http.loadbalanced' => false,
/**
* Mail Service Configuration
*/
'mailer.name' => '',
'mailer.email' => '',
'mailer.host' => '',
'mailer.port' => '',
'mailer.user' => '',
'mailer.pass' => '',
'mailer.crypt' => 'ssl',
/**
* Development Mode
*
* If development mode is enabled, you will be shown rich error messages. If development mode is not, you will be
* shown production errors which reveal nothing (although the errors will still be logged).
*/
'app.development' => true,
/**
* A long, private key that will be used to sign and verify cookies.
*/
'cookies.secretKey' => '',
));
/**
* Error Pages
*/
Route::error(404, function(Request $request, Response $response){
return View::make('errors.404');
});
Route::error(500, function(Request $request, Response $response){
return View::make('errors.500');
});