aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/extension.inc
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/extension.inc')
-rw-r--r--phpBB/extension.inc11
1 files changed, 2 insertions, 9 deletions
diff --git a/phpBB/extension.inc b/phpBB/extension.inc
index f464692299..2df77cbb3b 100644
--- a/phpBB/extension.inc
+++ b/phpBB/extension.inc
@@ -11,11 +11,6 @@
*
***************************************************************************/
-if ( !defined('IN_PHPBB') )
-{
- die('Hacking attempt');
-}
-
//
// Change this if your extension is not .php!
//
@@ -24,9 +19,7 @@ $phpEx = 'php';
//
// For debug timing
//
-$mtime = microtime();
-$mtime = explode(' ',$mtime);
-$mtime = $mtime[1] + $mtime[0];
-$starttime = $mtime;
+$starttime = explode(' ', microtime());
+$starttime = $starttime[1] + $starttime[0];
?> \ No newline at end of file