-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-test.php
67 lines (63 loc) · 1.89 KB
/
config-test.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
<?php
if (!defined('BETA')) {
define('BETA', true);
}
if (!defined('DEBUG')) {
define('DEBUG', true);
}
if (!defined('MAINTENANCE')) {
define('MAINTENANCE', false);
}
$travis = getenv('TRAVIS');
$config = [
'enviroment' => 'production',
'db' => [
'type' => 'sqlite',
'user' => 'dreamland',
'password' => 'dreamland',
'host' => ':memory:', //realpath(BASE_DIR.'/resources/tmp/').'/test.db'
],
'log' => [
'filename' => realpath(BASE_DIR.'/resources/logs/').'/'.date('Y-m-d').'.log',
'filenameQuery' => realpath(BASE_DIR.'/resources/logs/').'/'.date('Y-m-d').'-query.log',
'filenameCron' => realpath(BASE_DIR.'/resources/logs/').'/'.date('Y-m-d').'-cron.log',
'level' => 'DEBUG',
],
'email_sender' => ['test@test' => 'Test Return To Dreamland'],
'title' => 'Test - Return To Dreamland',
'template_dir' => realpath(BASE_DIR.'/resources/templates/').'/',
'import' => [
'upload_dir' => realpath(BASE_DIR.'/resources/uploads/').'/',
],
'wordpress' => [
'url' => 'http://dreamland.sigmalab.local/blog/',
'username' => 'admin',
'password' => 'admin',
],
'sfide' => [
'secret' => 'dasdasds',
],
'mailgun' => [
'key' => 'fake',
'pubkey' => 'fake',
'domain' => 'fake',
'salt' => 'abc123',
],
'data_chiusura' => 'NOW',
'google' => [],
'cookies.lifetime' => '1 minutes',
'cookies.encrypt' => true,
'cookies.secure' => true,
'cookies.secret_key' => 'HELPME',
'security.salt' => '123123',
];
if (!$travis) {
//mailcatcher
$config['smtp'] = [
'host' => '', //'localhost',
'port' => 1025,
'security' => null, //ssl,tls,null
'username' => '',
'password' => '',
];
}