-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfig.php.example
More file actions
executable file
·29 lines (29 loc) · 894 Bytes
/
Copy pathconfig.php.example
File metadata and controls
executable file
·29 lines (29 loc) · 894 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
<?php
/*
* This is where configuration information is stored about the framework. We can add extra options such as the PDO error mode,
* PDO timeout, or any other attributes that may be useful. Make sure to copy config.php.example to config.php.
*/
return [
'database' => [
'name' => 'people',
'username' => 'person',
'password' => 'password',
'connection' => 'mysql:host=127.0.0.1',
'options' => [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_CASE => PDO::CASE_NATURAL
]
],
'options' => [
'debug' => true,
'production' => false,
'array_routing' => false
],
'pagination' => [
'per_page' => 5,
'show_first_last' => true,
'show_latest_page_on_add' => true,
'show_latest_page_on_delete' => true,
]
]
?>