-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApplication.php.template
More file actions
99 lines (98 loc) · 2.29 KB
/
Application.php.template
File metadata and controls
99 lines (98 loc) · 2.29 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
include($this->DocPath().'config.php');
return array(
'db' => array(
'username' => $DB_USER,
'password' => $DB_PASSWORD,
'dbname' => $DB_DATABASE,
'host' => $DB_HOST
),
'front' => array(
'noErrorHandler' => false,
'throwExceptions' => false,
'useDefaultControllerAlways' => true,
'disableOutputBuffering' => false,
'showException' => true,
),
'template' => array(
'compileCheck' => true,
'compileLocking' => true,
'useSubDirs' => false,
'forceCompile' => false,
'ignoreNamespace' => false
),
'cache' => array(
'frontendOptions' => array(
'automatic_serialization' => true,
'automatic_cleaning_factor' => 0,
'lifetime' => 3600
),
'backend' => 'File',
'backendOptions' => array(
'hashed_directory_umask' => 0771,
'cache_file_umask' => 0644,
'hashed_directory_level' => 0,
'cache_dir' => $this->DocPath('cache_database'),
'file_name_prefix' => 'shopware'
),
/*
'backend' => 'Two Levels',
'backendOptions' => array(
'slow_backend' => 'File',
'slow_backend_options' => array(
'hashed_directory_umask' => 0771,
'cache_file_umask' => 0644,
'hashed_directory_level' => 2,
'cache_dir' => $this->DocPath('cache_database'),
'file_name_prefix' => 'shopware'
),
'fast_backend' => 'Memcached',
'fast_backend_options' => array(
'servers' => array(
array(
'host' => 'localhost',
'port' => 11211,
'persistent' => true,
'weight' => 1,
'timeout' => 5,
'retry_interval' => 15,
'status' => true,
'failure_callback' => null
)
),
'compression' => false,
'compatibility' => false
)
),
*/
),
'session' => array(
'name' => 'SHOPWARESID',
'cookie_lifetime' => 0,
'use_trans_sid' => false,
'gc_probability' => 1,
'gc_divisor' => 100,
'save_handler' => 'db'
),
/*
'session' => array(
...
'save_handler' => 'memcache',
'save_path' => 'tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15'
),
'session' => array(
...
'save_handler' => 'files'
),
*/
'backend' => array(
'refererCheck' => true,
),
'phpSettings'=>array(
'error_reporting'=>E_ALL | E_STRICT,
'display_errors'=>1,
'date.timezone'=>'Europe/Berlin',
'include_path'=>'.',
'zend.ze1_compatibility_mode'=>0
)
);