aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2002-09-29 20:45:57 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2002-09-29 20:45:57 +0000
commit6752c2a1683f0c065aedd93c62084f73c3930aaf (patch)
tree9efd8e13d0f5c141ec21216ddca7aebf11c8ed84
parente1e52497fa6ce9e5d1d496c8c1af3b3270d465b8 (diff)
downloadforums-6752c2a1683f0c065aedd93c62084f73c3930aaf.tar
forums-6752c2a1683f0c065aedd93c62084f73c3930aaf.tar.gz
forums-6752c2a1683f0c065aedd93c62084f73c3930aaf.tar.bz2
forums-6752c2a1683f0c065aedd93c62084f73c3930aaf.tar.xz
forums-6752c2a1683f0c065aedd93c62084f73c3930aaf.zip
No need to be paranoid about direct access to this file, removed $mtime reference.
git-svn-id: file:///svn/phpbb/trunk@2910 89ea8834-ac86-4346-8a33-228a782c2dd0
-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