启用HTACCESS,然后在目录下写入.htaccess文件,该操作可控制下层目录
<Files ~ “\.(php)$”> order allow,deny deny from all </Files>
<* 来源:baoz *>