diff --git a/root/includes/acp/acp_pallet.php b/root/includes/acp/acp_pallet.php index abad7d4d..c3f9fad9 100644 --- a/root/includes/acp/acp_pallet.php +++ b/root/includes/acp/acp_pallet.php @@ -10,6 +10,11 @@ * */ +if (!defined('IN_PHPBB')) +{ + exit; +} + class acp_pallet { function main($id, $mode) diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index 996896e3..4c1dee62 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -10,6 +10,11 @@ * */ +if (!defined('IN_PHPBB')) +{ + exit; +} + class acp_portal { var $u_action; diff --git a/root/includes/acp/info/acp_pallet.php b/root/includes/acp/info/acp_pallet.php index 3a8f9a53..1f0d6251 100644 --- a/root/includes/acp/info/acp_pallet.php +++ b/root/includes/acp/info/acp_pallet.php @@ -10,6 +10,11 @@ * */ +if (!defined('IN_PHPBB')) +{ + exit; +} + /** * @package module_install */ diff --git a/root/includes/acp/info/acp_portal.php b/root/includes/acp/info/acp_portal.php index 3ae727bb..70d74b59 100644 --- a/root/includes/acp/info/acp_portal.php +++ b/root/includes/acp/info/acp_portal.php @@ -10,6 +10,11 @@ * */ +if (!defined('IN_PHPBB')) +{ + exit; +} + /** * @package module_install */ diff --git a/root/portal/block/clock.php b/root/portal/block/clock.php index f9cee3c3..25100ca4 100644 --- a/root/portal/block/clock.php +++ b/root/portal/block/clock.php @@ -10,6 +10,11 @@ * */ +if (!defined('IN_PHPBB') || !defined('IN_PORTAL')) +{ + exit; +} + if (!isset($template->filename['clock_block'])) { $template->set_filenames(array( diff --git a/root/portal/block/jumpbox.php b/root/portal/block/jumpbox.php index b76a1ced..3bef32f8 100644 --- a/root/portal/block/jumpbox.php +++ b/root/portal/block/jumpbox.php @@ -10,6 +10,11 @@ * */ +if (!defined('IN_PHPBB') || !defined('IN_PORTAL')) +{ + exit; +} + if (!isset($template->filename['jumpbox_block'])) { $template->set_filenames(array( diff --git a/root/portal/block/poll.php b/root/portal/block/poll.php index 93479e78..6af9d1bf 100644 --- a/root/portal/block/poll.php +++ b/root/portal/block/poll.php @@ -10,7 +10,6 @@ */ if (!defined('IN_PHPBB') or !defined('IN_PORTAL')) { - die('Hacking attempt'); exit; }