mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
b651274960
commit
61daafca3a
2 changed files with 13 additions and 3 deletions
|
@ -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
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue