-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
39 lines (34 loc) · 1.02 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
39
<?php
//$username = "root";
//$password = "";
//$host = "localhost";
//$dbname = "to_do_list";
$cleardb_url = parse_url(getenv(" mysql://b6684c04b5974d:[email protected]/heroku_003c3947f7f82a3?reconnect=true"));
$cleardb_server = $cleardb_url["host"];
$cleardb_username = $cleardb_url["user"];
$cleardb_password = $cleardb_url["pass"];
$cleardb_db = substr($cleardb_url["path"],1);
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => $cleardb_server,
'username' => $cleardb_username,
'password' => $cleardb_password,
'database' => $cleardb_db,
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
?>