File tree Expand file tree Collapse file tree 3 files changed +68
-0
lines changed Expand file tree Collapse file tree 3 files changed +68
-0
lines changed Original file line number Diff line number Diff line change 9191 'readonly ' => true ,
9292 ),
9393 'cache ' => $ cache ,
94+ 'crypto ' => [
95+ 'value ' => [
96+ 'crypto_key ' => 'mysupersecretphrase ' ,
97+ ],
98+ 'readonly ' => true ,
99+ ]
94100);
Original file line number Diff line number Diff line change 1313
1414$ dotenv ->load (realpath (__DIR__ .'/../ ' ) . '/.env ' );
1515
16+ $ cache = array (
17+ 'value ' => array (
18+ 'type ' => 'files ' ,
19+ ),
20+ 'readonly ' => false ,
21+ );
22+
23+
24+ if (env ('USE_MEMCACHE ' )) {
25+ $ cache = array (
26+ 'value ' =>
27+ array (
28+ 'type ' => 'memcache ' ,
29+ 'memcache ' => array (
30+ 'host ' => '127.0.0.1 ' ,
31+ 'port ' => '11211 ' ,
32+ 'sid ' => $ _SERVER ["DOCUMENT_ROOT " ].'#site01 ' ,
33+ ),
34+ ),
35+ 'readonly ' => false
36+ );
37+ }
38+
39+
1640return array (
1741 'utf_mode ' =>
1842 array (
6690 ),
6791 'readonly ' => true ,
6892 ),
93+ 'cache ' => $ cache ,
94+ 'crypto ' => [
95+ 'value ' => [
96+ 'crypto_key ' => 'mysupersecretphrase ' ,
97+ ],
98+ 'readonly ' => true ,
99+ ]
69100);
Original file line number Diff line number Diff line change 1313
1414$ dotenv ->load (realpath (__DIR__ .'/../ ' ) . '/.env ' );
1515
16+ $ cache = array (
17+ 'value ' => array (
18+ 'type ' => 'files ' ,
19+ ),
20+ 'readonly ' => false ,
21+ );
22+
23+
24+ if (env ('USE_MEMCACHE ' )) {
25+ $ cache = array (
26+ 'value ' =>
27+ array (
28+ 'type ' => 'memcache ' ,
29+ 'memcache ' => array (
30+ 'host ' => '127.0.0.1 ' ,
31+ 'port ' => '11211 ' ,
32+ 'sid ' => $ _SERVER ["DOCUMENT_ROOT " ].'#site01 ' ,
33+ ),
34+ ),
35+ 'readonly ' => false
36+ );
37+ }
38+
39+
1640return array (
1741 'utf_mode ' =>
1842 array (
6690 ),
6791 'readonly ' => true ,
6892 ),
93+ 'cache ' => $ cache ,
94+ 'crypto ' => [
95+ 'value ' => [
96+ 'crypto_key ' => 'mysupersecretphrase ' ,
97+ ],
98+ 'readonly ' => true ,
99+ ]
69100);
You can’t perform that action at this time.
0 commit comments