-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
38 lines (33 loc) · 1.27 KB
/
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
<?php
//////////////////////////////////////////////
// General Configuration
//////////////////////////////////////////////
$config['appname'] = 'PakChat';
/*
* If debugging is enabled, Slim will use its built-in error handler to display
* diagnostic information for uncaught Exceptions. If debugging is disabled,
* Slim will instead invoke your custom error handler, passing it the otherwise
* uncaught Exception as its first and only argument.
*
* Slim converts errors into `ErrorException` instances.
* */
$config['debug'] = true;
/*
* mode is only for you to optionally invoke your own code for a given mode with
* the configureMode() application method.
*
* Set either "development" or "production"
* */
$config['mode'] = 'development';
//////////////////////////////////////////////
// Database Configuration
//////////////////////////////////////////////
$config['database_enable'] = true; // set to true if app supports db
$config['database_type'] = 'sqlite'; // database type either mysql or sqlite
$config['database_host'] = 'localhost';
$config['database_user'] = 'root';
$config['database_password'] = '';
$config['database_dbname'] = 'mydb';
$config['database_prefix'] = '';
$config['database_charset'] = 'utf8';
$config['database_collation'] = 'utf8_general_ci';