-
Notifications
You must be signed in to change notification settings - Fork 4
/
database.php
42 lines (41 loc) · 902 Bytes
/
database.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
<?php defined('SYSPATH') or die('No direct access allowed.');
return
Kohana::$environment == Kohana::PRODUCTION
/* PRODUCTION database */
? array
(
'default' => array
(
'type' => 'mysql',
'connection' => array(
'hostname' => 'localhost',
'username' => '',
'password' => '',
'persistent' => FALSE,
'database' => 'kohana3-examples_live',
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => FALSE,
'profiling' => TRUE,
)
)
/* DEVELOPMENT database */
: array
(
'default' => array
(
'type' => 'mysql',
'connection' => array(
'hostname' => 'localhost',
'username' => '',
'password' => '',
'persistent' => FALSE,
'database' => 'kohana3-examples_dev',
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => FALSE,
'profiling' => TRUE,
)
);