mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +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
|
<?php
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* extention.inc
|
* extension.inc
|
||||||
* -------------------
|
* -------------------
|
||||||
* begin : Saturday, Feb 13, 2001
|
* begin : Saturday, Feb 13, 2001
|
||||||
* copyright : (C) 2001 The phpBB Group
|
* 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";
|
$phpEx = "php";
|
||||||
|
|
||||||
|
//
|
||||||
|
// For debug timing
|
||||||
|
//
|
||||||
$mtime = microtime();
|
$mtime = microtime();
|
||||||
$mtime = explode(" ",$mtime);
|
$mtime = explode(" ",$mtime);
|
||||||
$mtime = $mtime[1] + $mtime[0];
|
$mtime = $mtime[1] + $mtime[0];
|
||||||
|
@@ -34,8 +34,6 @@ init_userprefs($userdata);
|
|||||||
// End session management
|
// End session management
|
||||||
//
|
//
|
||||||
|
|
||||||
define('IN_PROFILE', true);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Set default email variables
|
// Set default email variables
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user