IN_PHPBB check
This commit is contained in:
@@ -10,6 +10,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
class acp_pallet
|
class acp_pallet
|
||||||
{
|
{
|
||||||
function main($id, $mode)
|
function main($id, $mode)
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
class acp_portal
|
class acp_portal
|
||||||
{
|
{
|
||||||
var $u_action;
|
var $u_action;
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package module_install
|
* @package module_install
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package module_install
|
* @package module_install
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB') || !defined('IN_PORTAL'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($template->filename['clock_block']))
|
if (!isset($template->filename['clock_block']))
|
||||||
{
|
{
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
|
|||||||
@@ -10,6 +10,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB') || !defined('IN_PORTAL'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($template->filename['jumpbox_block']))
|
if (!isset($template->filename['jumpbox_block']))
|
||||||
{
|
{
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
if (!defined('IN_PHPBB') or !defined('IN_PORTAL'))
|
if (!defined('IN_PHPBB') or !defined('IN_PORTAL'))
|
||||||
{
|
{
|
||||||
die('Hacking attempt');
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user