diff options
-rw-r--r-- | phpBB/extension.inc | 14 | ||||
-rw-r--r-- | phpBB/profile.php | 2 |
2 files changed, 13 insertions, 3 deletions
diff --git a/phpBB/extension.inc b/phpBB/extension.inc index 2168f7e2c0..1858c864d1 100644 --- a/phpBB/extension.inc +++ b/phpBB/extension.inc @@ -1,6 +1,6 @@ <?php /*************************************************************************** - * extention.inc + * extension.inc * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group @@ -11,7 +11,19 @@ * ***************************************************************************/ +if ( !defined('IN_PHPBB') ) +{ + die("Hacking attempt"); +} + +// +// Change this if your extension is not .php! +// $phpEx = "php"; + +// +// For debug timing +// $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; diff --git a/phpBB/profile.php b/phpBB/profile.php index 1f9919b61f..25965087de 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -34,8 +34,6 @@ init_userprefs($userdata); // End session management // -define('IN_PROFILE', true); - // // Set default email variables // |