mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Prevent direct access to these files
git-svn-id: file:///svn/phpbb/trunk@6102 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
aa443a868d
commit
790f4dcc02
2 changed files with 12 additions and 0 deletions
|
@ -11,6 +11,12 @@
|
|||
/**
|
||||
*/
|
||||
|
||||
if ( !defined('IN_INSTALL') )
|
||||
{
|
||||
// Someone has tried to access the file direct. This is not a good idea, so exit
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!empty($setmodules))
|
||||
{
|
||||
$module[] = array(
|
||||
|
|
|
@ -11,6 +11,12 @@
|
|||
/**
|
||||
*/
|
||||
|
||||
if ( !defined('IN_INSTALL') )
|
||||
{
|
||||
// Someone has tried to access the file direct. This is not a good idea, so exit
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!empty($setmodules))
|
||||
{
|
||||
$module[] = array(
|
||||
|
|
Loading…
Add table
Reference in a new issue