File tree Expand file tree Collapse file tree 5 files changed +3
-41
lines changed
app/code/Magento/AdminNotification/Block/Grid/Renderer Expand file tree Collapse file tree 5 files changed +3
-41
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,6 @@ DirectoryIndex index.php
114
114
order allow,deny
115
115
deny from all
116
116
</Files >
117
- <Files .user.ini >
118
- <IfVersion < 2.4 >
119
- order allow,deny
120
- deny from all
121
- </IfVersion >
122
- <IfVersion >= 2.4 >
123
- Require all denied
124
- </IfVersion >
125
- </Files >
126
117
ErrorDocument 404 /pub/errors/404 .php
127
118
ErrorDocument 403 /pub/errors/404 .php
128
119
<IfModule mod_headers.c >
Original file line number Diff line number Diff line change @@ -278,15 +278,6 @@ DirectoryIndex index.php
278
278
order allow,deny
279
279
deny from all
280
280
</Files>
281
- <Files .user.ini>
282
- <IfVersion < 2.4>
283
- order allow,deny
284
- deny from all
285
- </IfVersion>
286
- <IfVersion >= 2.4>
287
- Require all denied
288
- </IfVersion>
289
- </Files>
290
281
291
282
# For 404s and 403s that aren't handled by the application, show plain 404 response
292
283
ErrorDocument 404 /pub/errors/404.php
Original file line number Diff line number Diff line change 10
10
11
11
namespace Magento \AdminNotification \Block \Grid \Renderer ;
12
12
13
- /**
14
- * Renderer class for action in the admin notifications grid
15
- */
16
13
class Actions extends \Magento \Backend \Block \Widget \Grid \Column \Renderer \AbstractRenderer
17
14
{
18
15
/**
@@ -42,9 +39,9 @@ public function __construct(
42
39
*/
43
40
public function render (\Magento \Framework \DataObject $ row )
44
41
{
45
- $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' .
46
- $ this -> escapeUrl ( $ row -> getUrl ()) . ' "> ' .
47
- __ ( ' Read Details ' ) . '</a> | ' : '' ;
42
+ $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' . $ row -> getUrl () . ' "> ' . __ (
43
+ ' Read Details '
44
+ ) . '</a> | ' : '' ;
48
45
49
46
$ markAsReadHtml = !$ row ->getIsRead () ? '<a class="action-mark" href=" ' . $ this ->getUrl (
50
47
'*/*/markAsRead/ ' ,
Original file line number Diff line number Diff line change @@ -33,11 +33,6 @@ charset UTF-8;
33
33
error_page 404 403 = /errors/404.php;
34
34
#add_header "X-UA-Compatible" "IE=Edge";
35
35
36
- # Deny access to sensitive files
37
- location /.user.ini {
38
- deny all;
39
- }
40
-
41
36
# PHP entry point for setup application
42
37
location ~* ^/setup($|/) {
43
38
root $MAGE_ROOT;
Original file line number Diff line number Diff line change @@ -210,18 +210,6 @@ ErrorDocument 403 /errors/404.php
210
210
deny from all
211
211
</Files >
212
212
213
- ###########################################
214
- ## Deny access to .user.ini
215
- <Files .user.ini >
216
- <IfVersion < 2.4 >
217
- order allow,deny
218
- deny from all
219
- </IfVersion >
220
- <IfVersion >= 2.4 >
221
- Require all denied
222
- </IfVersion >
223
- </Files >
224
-
225
213
<IfModule mod_headers.c >
226
214
############################################
227
215
## Prevent clickjacking
You can’t perform that action at this time.
0 commit comments