aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-09-13 14:50:45 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-09-13 14:50:45 +0000
commitdff8c2e0e18b89f0efa10ca8058208d46016c957 (patch)
treea4b4d34d31017798a01796b644799b902ee77dc8
parent89dd1d8a085c611615142d34ad7fe56d0ef0d5bb (diff)
downloadforums-dff8c2e0e18b89f0efa10ca8058208d46016c957.tar
forums-dff8c2e0e18b89f0efa10ca8058208d46016c957.tar.gz
forums-dff8c2e0e18b89f0efa10ca8058208d46016c957.tar.bz2
forums-dff8c2e0e18b89f0efa10ca8058208d46016c957.tar.xz
forums-dff8c2e0e18b89f0efa10ca8058208d46016c957.zip
Extension var update
git-svn-id: file:///svn/phpbb/trunk@4495 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/install/install.php34
1 files changed, 12 insertions, 22 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index 2ba3b17019..762b9f95e6 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -1,23 +1,15 @@
<?php
-/***************************************************************************
- * install.php
- * -------------------
- * begin : Tuesday, Sept 11, 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 : install.php
+// STARTED : Sat Dec 17, 2002
+// COPYRIGHT : © 2001, 2003 phpBB Group
+// WWW : http://www.phpbb.com/
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
+// -------------------------------------------------------------
define('IN_PHPBB', true);
@@ -29,13 +21,12 @@ set_magic_quotes_runtime(0);
// Include essential scripts
$phpbb_root_path = './../';
-require($phpbb_root_path . 'extension.inc');
+$phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/session.'.$phpEx);
include($phpbb_root_path . 'includes/acm/acm_file.'.$phpEx);
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
-
// Slash data if necessary
if (!get_magic_quotes_gpc())
{
@@ -44,7 +35,6 @@ if (!get_magic_quotes_gpc())
$_COOKIE = slash_input_data($_POST);
}
-
// Instantiate classes for future use
$user = new user();
$auth = new auth();