Extension var update

git-svn-id: file:///svn/phpbb/trunk@4495 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-09-13 14:50:45 +00:00
parent 89dd1d8a08
commit dff8c2e0e1

View file

@ -1,23 +1,15 @@
<?php <?php
/*************************************************************************** // -------------------------------------------------------------
* install.php //
* ------------------- // $Id$
* begin : Tuesday, Sept 11, 2001 //
* copyright : (C) 2001 The phpBB Group // FILENAME : install.php
* email : support@phpbb.com // STARTED : Sat Dec 17, 2002
* // COPYRIGHT : © 2001, 2003 phpBB Group
* $Id$ // WWW : http://www.phpbb.com/
* // LICENCE : GPL vs2.0 [ see /docs/COPYING ]
***************************************************************************/ //
// -------------------------------------------------------------
/***************************************************************************
*
* 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.
*
***************************************************************************/
define('IN_PHPBB', true); define('IN_PHPBB', true);
@ -29,13 +21,12 @@ set_magic_quotes_runtime(0);
// Include essential scripts // Include essential scripts
$phpbb_root_path = './../'; $phpbb_root_path = './../';
require($phpbb_root_path . 'extension.inc'); $phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'includes/functions.'.$phpEx); require($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/session.'.$phpEx); include($phpbb_root_path . 'includes/session.'.$phpEx);
include($phpbb_root_path . 'includes/acm/acm_file.'.$phpEx); include($phpbb_root_path . 'includes/acm/acm_file.'.$phpEx);
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx); include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
// Slash data if necessary // Slash data if necessary
if (!get_magic_quotes_gpc()) if (!get_magic_quotes_gpc())
{ {
@ -44,7 +35,6 @@ if (!get_magic_quotes_gpc())
$_COOKIE = slash_input_data($_POST); $_COOKIE = slash_input_data($_POST);
} }
// Instantiate classes for future use // Instantiate classes for future use
$user = new user(); $user = new user();
$auth = new auth(); $auth = new auth();