[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:
Andreas Fischer 2010-10-15 16:47:21 +02:00
parent b8f37a5024
commit d485664404

4
phpBB/includes/.htaccess Normal file
View file

@ -0,0 +1,4 @@
<Files *>
Order Allow,Deny
Deny from All
</Files>