@@ -53,20 +53,20 @@ |
||
53 | 53 | public function getAllOptions() |
54 | 54 | { |
55 | 55 | return [ |
56 | - 'app' => $this->_app, |
|
57 | - 'server' => $this->_server, |
|
58 | - 'phpver' => $this->_phpVer, |
|
59 | - 'os' => $this->_os, |
|
60 | - 'box' => $this->_box, |
|
61 | - 'm2user' => $this->_m2Username, |
|
62 | - 'm2pass' => $this->_m2Password, |
|
63 | - 'repo_url' => $this->_repoUrl, |
|
64 | - 'ip_address' => $this->_ipAddress, |
|
65 | - 'cpus' => $this->_cpus, |
|
66 | - 'memory_limit' => $this->_memorylimit, |
|
67 | - 'locale' => $this->_locale, |
|
68 | - 'default_currency' => $this->_currency, |
|
69 | - 'base_url' => $this->_baseUrl, |
|
56 | + 'app' => $this->_app, |
|
57 | + 'server' => $this->_server, |
|
58 | + 'phpver' => $this->_phpVer, |
|
59 | + 'os' => $this->_os, |
|
60 | + 'box' => $this->_box, |
|
61 | + 'm2user' => $this->_m2Username, |
|
62 | + 'm2pass' => $this->_m2Password, |
|
63 | + 'repo_url' => $this->_repoUrl, |
|
64 | + 'ip_address' => $this->_ipAddress, |
|
65 | + 'cpus' => $this->_cpus, |
|
66 | + 'memory_limit' => $this->_memorylimit, |
|
67 | + 'locale' => $this->_locale, |
|
68 | + 'default_currency' => $this->_currency, |
|
69 | + 'base_url' => $this->_baseUrl, |
|
70 | 70 | ]; |
71 | 71 | } |
72 | 72 |
@@ -6,12 +6,12 @@ |
||
6 | 6 | $privateKey = "$argv[2]"; |
7 | 7 | |
8 | 8 | $contents = [ |
9 | - "http-basic" => [ |
|
10 | - "repo.magento.com" => [ |
|
11 | - "username" => $publicKey, |
|
12 | - "password" => $privateKey, |
|
13 | - ] |
|
14 | - ] |
|
9 | + "http-basic" => [ |
|
10 | + "repo.magento.com" => [ |
|
11 | + "username" => $publicKey, |
|
12 | + "password" => $privateKey, |
|
13 | + ] |
|
14 | + ] |
|
15 | 15 | ]; |
16 | 16 | |
17 | 17 |
@@ -4,48 +4,48 @@ |
||
4 | 4 | $env = include $file; |
5 | 5 | |
6 | 6 | $env['cache'] = |
7 | - array ( |
|
8 | - 'frontend' => |
|
9 | - array ( |
|
10 | - 'default' => |
|
11 | - array ( |
|
12 | - 'backend' => 'Cm_Cache_Backend_Redis', |
|
13 | - 'backend_options' => |
|
14 | - array ( |
|
15 | - 'server' => '127.0.0.1', |
|
16 | - 'port' => '6379', |
|
17 | - 'persistent' => '', |
|
18 | - 'database' => '0', |
|
19 | - 'force_standalone' => '0', |
|
20 | - 'connect_retries' => '1', |
|
21 | - 'read_timeout' => '10', |
|
22 | - 'automatic_cleaning_factor' => '0', |
|
23 | - 'compress_data' => '1', |
|
24 | - 'compress_tags' => '1', |
|
25 | - 'compress_threshold' => '20480', |
|
26 | - 'compression_lib' => 'gzip', |
|
7 | + array ( |
|
8 | + 'frontend' => |
|
9 | + array ( |
|
10 | + 'default' => |
|
11 | + array ( |
|
12 | + 'backend' => 'Cm_Cache_Backend_Redis', |
|
13 | + 'backend_options' => |
|
14 | + array ( |
|
15 | + 'server' => '127.0.0.1', |
|
16 | + 'port' => '6379', |
|
17 | + 'persistent' => '', |
|
18 | + 'database' => '0', |
|
19 | + 'force_standalone' => '0', |
|
20 | + 'connect_retries' => '1', |
|
21 | + 'read_timeout' => '10', |
|
22 | + 'automatic_cleaning_factor' => '0', |
|
23 | + 'compress_data' => '1', |
|
24 | + 'compress_tags' => '1', |
|
25 | + 'compress_threshold' => '20480', |
|
26 | + 'compression_lib' => 'gzip', |
|
27 | 27 | ) |
28 | - ), |
|
29 | - 'page_cache' => |
|
30 | - array ( |
|
31 | - 'backend' => 'Cm_Cache_Backend_Redis', |
|
32 | - 'backend_options' => |
|
33 | - array ( |
|
34 | - 'server' => '127.0.0.1', |
|
35 | - 'port' => '6379', |
|
36 | - 'persistent' => '', |
|
37 | - 'database' => '1', |
|
38 | - 'force_standalone' => '0', |
|
39 | - 'connect_retries' => '1', |
|
40 | - 'read_timeout' => '10', |
|
41 | - 'automatic_cleaning_factor' => '0', |
|
42 | - 'compress_data' => '0', |
|
43 | - 'compress_tags' => '1', |
|
44 | - 'compress_threshold' => '20480', |
|
45 | - 'compression_lib' => 'gzip', |
|
46 | - ), |
|
47 | - ), |
|
48 | - ) |
|
49 | - ); |
|
28 | + ), |
|
29 | + 'page_cache' => |
|
30 | + array ( |
|
31 | + 'backend' => 'Cm_Cache_Backend_Redis', |
|
32 | + 'backend_options' => |
|
33 | + array ( |
|
34 | + 'server' => '127.0.0.1', |
|
35 | + 'port' => '6379', |
|
36 | + 'persistent' => '', |
|
37 | + 'database' => '1', |
|
38 | + 'force_standalone' => '0', |
|
39 | + 'connect_retries' => '1', |
|
40 | + 'read_timeout' => '10', |
|
41 | + 'automatic_cleaning_factor' => '0', |
|
42 | + 'compress_data' => '0', |
|
43 | + 'compress_tags' => '1', |
|
44 | + 'compress_threshold' => '20480', |
|
45 | + 'compression_lib' => 'gzip', |
|
46 | + ), |
|
47 | + ), |
|
48 | + ) |
|
49 | + ); |
|
50 | 50 | |
51 | 51 | file_put_contents($file, "<?php \n \n return ".var_export($env,true).";"); |