mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02: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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user