Prevent direct access to these files

git-svn-id: file:///svn/phpbb/trunk@6102 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2006-06-19 20:52:01 +00:00
parent aa443a868d
commit 790f4dcc02
2 changed files with 12 additions and 0 deletions

View file

@ -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(

View file

@ -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(