mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
No need for IN_PROFILE, can just use IN_PHPBB
git-svn-id: file:///svn/phpbb/trunk@2329 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user