mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/9698] Add .htaccess to the includes subdirectory.
Add .htaccess to the includes folder to prevent full path disclosure when running PHP 5.3. When the error_reporting setting in php.ini contains the E_DEPRECATED error level, the PHP parser throws an error message containing the local filesystem path when accessing one of the captcha plugins directly. This is because the captcha plugins return explicit references for PHP 4 compatibility. PHPBB3-9698
This commit is contained in:
parent
b8f37a5024
commit
d485664404
1 changed files with 4 additions and 0 deletions
4
phpBB/includes/.htaccess
Normal file
4
phpBB/includes/.htaccess
Normal file
|
@ -0,0 +1,4 @@
|
|||
<Files *>
|
||||
Order Allow,Deny
|
||||
Deny from All
|
||||
</Files>
|
Loading…
Add table
Reference in a new issue