mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
add hack check
git-svn-id: file:///svn/phpbb/trunk@2381 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6eeae4f39a
commit
fdee8ed1b7
1 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,10 @@
|
|||
* (at your option) any later version.
|
||||
*
|
||||
***************************************************************************/
|
||||
if ( !defined('IN_PHPBB') )
|
||||
{
|
||||
die("Hacking attempt");
|
||||
}
|
||||
|
||||
require($phpbb_root_path . 'includes/functions_search.'.$phpEx);
|
||||
|
||||
|
@ -159,4 +163,4 @@ function auto_prune($forum_id = 0)
|
|||
return;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue