Skip to content

Commit 529587c

Browse files
author
OpenXE
committed
Extended .htaccess for setup and inline PDF
1 parent 35f6532 commit 529587c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

phpwf/plugins/class.acl.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,16 @@ protected function CheckHtaccess() {
12611261
Order Allow,Deny
12621262
Allow from all
12631263
</Files>
1264+
# Allow access to setup.php
1265+
<Files setup.php>
1266+
Order Allow,Deny
1267+
Allow from all
1268+
</Files>
1269+
# Allow access to inline PDF viewer
1270+
<Files viewer.html>
1271+
Order Allow,Deny
1272+
Allow from all
1273+
</Files>
12641274
# end
12651275
');
12661276

www/.htaccess

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,14 @@ Allow from all
1313
Order Allow,Deny
1414
Allow from all
1515
</Files>
16+
# Allow access to setup.php
17+
<Files setup.php>
18+
Order Allow,Deny
19+
Allow from all
20+
</Files>
21+
# Allow access to inline PDF viewer
22+
<Files viewer.html>
23+
Order Allow,Deny
24+
Allow from all
25+
</Files>
1626
# end

0 commit comments

Comments
 (0)