Skip to content

Commit 7fc5a6f

Browse files
committed
Add version 2.0.17
1 parent f91188d commit 7fc5a6f

File tree

41,988 files changed

+378986
-1680378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41,988 files changed

+378986
-1680378
lines changed

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/.buildpath
2+
/.cache
3+
/.metadata
4+
/.project
5+
/.settings
6+
atlassian*
7+
/nbproject
8+
/sitemap
9+
/.idea
10+
/.gitattributes
11+
/app/config_sandbox
12+
/app/etc/config.php
13+
/app/etc/env.php
14+
/app/code/Magento/TestModule*
15+
/lib/internal/flex/uploader/.actionScriptProperties
16+
/lib/internal/flex/uploader/.flexProperties
17+
/lib/internal/flex/uploader/.project
18+
/lib/internal/flex/uploader/.settings
19+
/lib/internal/flex/varien/.actionScriptProperties
20+
/lib/internal/flex/varien/.flexLibProperties
21+
/lib/internal/flex/varien/.project
22+
/lib/internal/flex/varien/.settings
23+
/node_modules
24+
/.grunt
25+
26+
/pub/media/*.*
27+
!/pub/media/.htaccess
28+
/pub/media/catalog/*
29+
!/pub/media/catalog/.htaccess
30+
/pub/media/customer/*
31+
!/pub/media/customer/.htaccess
32+
/pub/media/downloadable/*
33+
!/pub/media/downloadable/.htaccess
34+
/pub/media/import/*
35+
!/pub/media/import/.htaccess
36+
/pub/media/theme/*
37+
/pub/media/theme_customization/*
38+
!/pub/media/theme_customization/.htaccess
39+
/pub/media/wysiwyg/*
40+
!/pub/media/wysiwyg/.htaccess
41+
/pub/media/tmp/*
42+
!/pub/media/tmp/.htaccess
43+
/pub/media/captcha/*
44+
/pub/static/*
45+
!/pub/static/.htaccess
46+
47+
/var/*
48+
!/var/.htaccess
49+
/vendor
50+
!/vendor/.htaccess

.htaccess

Lines changed: 3 additions & 204 deletions
Original file line numberDiff line numberDiff line change
@@ -1,207 +1,43 @@
1-
############################################
2-
## overrides deployment configuration mode value
3-
## use command bin/magento deploy:mode:set to switch modes
4-
5-
# SetEnv MAGE_MODE developer
6-
7-
############################################
8-
## uncomment these lines for CGI mode
9-
## make sure to specify the correct cgi php binary file name
10-
## it might be /cgi-bin/php-cgi
11-
12-
# Action php5-cgi /cgi-bin/php5-cgi
13-
# AddHandler php5-cgi .php
14-
15-
############################################
16-
## GoDaddy specific options
17-
18-
# Options -MultiViews
19-
20-
## you might also need to add this line to php.ini
21-
## cgi.fix_pathinfo = 1
22-
## if it still doesn't work, rename php.ini to php5.ini
23-
24-
############################################
25-
## this line is specific for 1and1 hosting
26-
27-
#AddType x-mapp-php5 .php
28-
#AddHandler x-mapp-php5 .php
29-
30-
############################################
31-
## default index file
32-
33-
DirectoryIndex index.php
34-
1+
# All explanations you could find in .htaccess.sample file
2+
DirectoryIndex index.php
353
<IfModule mod_php5.c>
36-
############################################
37-
## adjust memory limit
38-
394
php_value memory_limit 768M
405
php_value max_execution_time 18000
41-
42-
############################################
43-
## disable automatic session start
44-
## before autoload was initialized
45-
466
php_flag session.auto_start off
47-
48-
############################################
49-
## enable resulting html compression
50-
51-
#php_flag zlib.output_compression on
52-
53-
###########################################
54-
## disable user agent verification to not break multiple image upload
55-
567
php_flag suhosin.session.cryptua off
578
</IfModule>
589
<IfModule mod_php7.c>
59-
############################################
60-
## adjust memory limit
61-
6210
php_value memory_limit 768M
6311
php_value max_execution_time 18000
64-
65-
############################################
66-
## disable automatic session start
67-
## before autoload was initialized
68-
6912
php_flag session.auto_start off
70-
71-
############################################
72-
## enable resulting html compression
73-
74-
#php_flag zlib.output_compression on
75-
76-
###########################################
77-
## disable user agent verification to not break multiple image upload
78-
7913
php_flag suhosin.session.cryptua off
8014
</IfModule>
8115
<IfModule mod_security.c>
82-
###########################################
83-
## disable POST processing to not break multiple image upload
84-
8516
SecFilterEngine Off
8617
SecFilterScanPOST Off
8718
</IfModule>
88-
89-
<IfModule mod_deflate.c>
90-
91-
############################################
92-
## enable apache served files compression
93-
## http://developer.yahoo.com/performance/rules.html#gzip
94-
95-
# Insert filter on all content
96-
###SetOutputFilter DEFLATE
97-
# Insert filter on selected content types only
98-
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript application/json image/svg+xml
99-
100-
# Netscape 4.x has some problems...
101-
#BrowserMatch ^Mozilla/4 gzip-only-text/html
102-
103-
# Netscape 4.06-4.08 have some more problems
104-
#BrowserMatch ^Mozilla/4\.0[678] no-gzip
105-
106-
# MSIE masquerades as Netscape, but it is fine
107-
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
108-
109-
# Don't compress images
110-
#SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
111-
112-
# Make sure proxies don't deliver the wrong content
113-
#Header append Vary User-Agent env=!dont-vary
114-
115-
</IfModule>
116-
11719
<IfModule mod_ssl.c>
118-
119-
############################################
120-
## make HTTPS env vars available for CGI mode
121-
12220
SSLOptions StdEnvVars
123-
12421
</IfModule>
125-
126-
############################################
127-
## workaround for Apache 2.4.6 CentOS build when working via ProxyPassMatch with HHVM (or any other)
128-
## Please, set it on virtual host configuration level
129-
130-
## SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
131-
############################################
132-
13322
<IfModule mod_rewrite.c>
134-
135-
############################################
136-
## enable rewrites
137-
13823
Options +FollowSymLinks
13924
RewriteEngine on
140-
141-
############################################
142-
## you can put here your magento root folder
143-
## path relative to web root
144-
145-
#RewriteBase /magento/
146-
147-
############################################
148-
## workaround for HTTP authorization
149-
## in CGI environment
150-
15125
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
152-
153-
############################################
154-
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks
155-
15626
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
15727
RewriteRule .* - [L,R=405]
158-
159-
############################################
160-
## redirect for mobile user agents
161-
162-
#RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
163-
#RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
164-
#RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]
165-
166-
############################################
167-
## never rewrite for existing files, directories and links
168-
16928
RewriteCond %{REQUEST_FILENAME} !-f
17029
RewriteCond %{REQUEST_FILENAME} !-d
17130
RewriteCond %{REQUEST_FILENAME} !-l
172-
173-
############################################
174-
## rewrite everything else to index.php
175-
17631
RewriteRule .* index.php [L]
177-
17832
</IfModule>
179-
180-
181-
############################################
182-
## Prevent character encoding issues from server overrides
183-
## If you still have problems, use the second line instead
184-
18533
AddDefaultCharset Off
186-
#AddDefaultCharset UTF-8
18734
AddType 'text/html; charset=UTF-8' html
188-
18935
<IfModule mod_expires.c>
190-
191-
############################################
192-
## Add default Expires header
193-
## http://developer.yahoo.com/performance/rules.html#expires
194-
19536
ExpiresDefault "access plus 1 year"
19637
ExpiresByType text/html A0
19738
ExpiresByType text/plain A0
198-
19939
</IfModule>
200-
201-
###########################################
202-
## Deny access to root files to hide sensitive application information
20340
RedirectMatch 403 /\.git
204-
20541
<Files composer.json>
20642
order allow,deny
20743
deny from all
@@ -222,7 +58,7 @@
22258
order allow,deny
22359
deny from all
22460
</Files>
225-
<Files .php_cs.dist>
61+
<Files .php_cs>
22662
order allow,deny
22763
deny from all
22864
</Files>
@@ -274,48 +110,11 @@
274110
order allow,deny
275111
deny from all
276112
</Files>
277-
278-
# For 404s and 403s that aren't handled by the application, show plain 404 response
279113
ErrorDocument 404 /pub/errors/404.php
280114
ErrorDocument 403 /pub/errors/404.php
281-
282-
################################
283-
## If running in cluster environment, uncomment this
284-
## http://developer.yahoo.com/performance/rules.html#etags
285-
286-
#FileETag none
287-
288-
# ######################################################################
289-
# # INTERNET EXPLORER #
290-
# ######################################################################
291-
292-
# ----------------------------------------------------------------------
293-
# | Document modes |
294-
# ----------------------------------------------------------------------
295-
296-
# Force Internet Explorer 8/9/10 to render pages in the highest mode
297-
# available in the various cases when it may not.
298-
#
299-
# https://hsivonen.fi/doctype/#ie8
300-
#
301-
# (!) Starting with Internet Explorer 11, document modes are deprecated.
302-
# If your business still relies on older web apps and services that were
303-
# designed for older versions of Internet Explorer, you might want to
304-
# consider enabling `Enterprise Mode` throughout your company.
305-
#
306-
# https://msdn.microsoft.com/en-us/library/ie/bg182625.aspx#docmode
307-
# http://blogs.msdn.com/b/ie/archive/2014/04/02/stay-up-to-date-with-enterprise-mode-for-internet-explorer-11.aspx
308-
309115
<IfModule mod_headers.c>
310-
311116
Header set X-UA-Compatible "IE=edge"
312-
313-
# `mod_headers` cannot match based on the content-type, however,
314-
# the `X-UA-Compatible` response header should be send only for
315-
# HTML documents and not for the other resources.
316-
317117
<FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$">
318118
Header unset X-UA-Compatible
319119
</FilesMatch>
320-
321120
</IfModule>

.htaccess.sample

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
############################################
3131
## default index file
3232

33-
DirectoryIndex index.php
33+
DirectoryIndex index.php
3434

35+
<IfModule mod_php5.c>
3536
############################################
3637
## adjust memory limit
3738

@@ -53,7 +54,30 @@
5354
## disable user agent verification to not break multiple image upload
5455

5556
php_flag suhosin.session.cryptua off
57+
</IfModule>
58+
<IfModule mod_php7.c>
59+
############################################
60+
## adjust memory limit
61+
62+
php_value memory_limit 768M
63+
php_value max_execution_time 18000
64+
65+
############################################
66+
## disable automatic session start
67+
## before autoload was initialized
68+
69+
php_flag session.auto_start off
70+
71+
############################################
72+
## enable resulting html compression
73+
74+
#php_flag zlib.output_compression on
5675

76+
###########################################
77+
## disable user agent verification to not break multiple image upload
78+
79+
php_flag suhosin.session.cryptua off
80+
</IfModule>
5781
<IfModule mod_security.c>
5882
###########################################
5983
## disable POST processing to not break multiple image upload
@@ -198,7 +222,7 @@
198222
order allow,deny
199223
deny from all
200224
</Files>
201-
<Files .php_cs.dist>
225+
<Files .php_cs>
202226
order allow,deny
203227
deny from all
204228
</Files>

0 commit comments

Comments
 (0)