aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php32
1 files changed, 12 insertions, 20 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index d05a7a980a..b43f0a2deb 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -1,23 +1,15 @@
<?php
-/***************************************************************************
- * mcp.php
- * -------------------
- * begin : July 4, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
+// -------------------------------------------------------------
+//
+// $Id$
+//
+// FILENAME : mcp.php
+// STARTED : Mon May 5, 2003
+// COPYRIGHT : � 2001, 2003 phpBB Group
+// WWW : http://www.phpbb.com/
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
+// -------------------------------------------------------------
// TODO for 2.2:
//
@@ -45,7 +37,7 @@
define('IN_PHPBB', true);
define('NEED_SID', true);
$phpbb_root_path = './';
-include($phpbb_root_path . 'extension.inc');
+$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);