IN_PHPBB check

This commit is contained in:
Joas Schilling
2009-04-17 14:37:15 +00:00
parent ef8f76e554
commit 86aa9fdd9e
7 changed files with 30 additions and 1 deletions

View File

@@ -10,6 +10,11 @@
* *
*/ */
if (!defined('IN_PHPBB'))
{
exit;
}
class acp_pallet class acp_pallet
{ {
function main($id, $mode) function main($id, $mode)

View File

@@ -10,6 +10,11 @@
* *
*/ */
if (!defined('IN_PHPBB'))
{
exit;
}
class acp_portal class acp_portal
{ {
var $u_action; var $u_action;

View File

@@ -10,6 +10,11 @@
* *
*/ */
if (!defined('IN_PHPBB'))
{
exit;
}
/** /**
* @package module_install * @package module_install
*/ */

View File

@@ -10,6 +10,11 @@
* *
*/ */
if (!defined('IN_PHPBB'))
{
exit;
}
/** /**
* @package module_install * @package module_install
*/ */

View File

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

View File

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

View File

@@ -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;
} }