Vergleich install/index.php - 1.2.6 - 1.2.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: index.php 2795 2007-02-14 03:48:42Z Tikitiki $

 * $Id: index.php 3145 2007-06-20 22:21:24Z dennis $

 */
error_reporting(E_ALL & ~E_NOTICE);


 */
error_reporting(E_ALL & ~E_NOTICE);


Zeile 364Zeile 364
	// Write the configuration file
$configdata = "<?php
/**

	// Write the configuration file
$configdata = "<?php
/**

 * Daatabase configuration

 * Database configuration

 */

\$config['dbtype'] = '{$mybb->input['dbengine']}';

 */

\$config['dbtype'] = '{$mybb->input['dbengine']}';

Zeile 456Zeile 456

function populate_tables()
{


function populate_tables()
{

	global $output, $lang;

	global $output, $lang, $config;


require_once MYBB_ROOT.'inc/config.php';
$db = db_connection($config);


require_once MYBB_ROOT.'inc/config.php';
$db = db_connection($config);

Zeile 485Zeile 485

function insert_templates()
{


function insert_templates()
{

	global $output, $cache, $db, $lang;

	global $output, $cache, $db, $lang, $config;


require_once MYBB_ROOT.'inc/config.php';
$db = db_connection($config);


require_once MYBB_ROOT.'inc/config.php';
$db = db_connection($config);

Zeile 581Zeile 581

function create_admin_user()
{


function create_admin_user()
{

	global $output, $mybb, $errors, $db, $lang;

	global $output, $mybb, $errors, $db, $lang, $config;

	$mybb->input['action'] = "adminuser";
// If no errors then check for errors from last step
if(!is_array($errors))

	$mybb->input['action'] = "adminuser";
// If no errors then check for errors from last step
if(!is_array($errors))

Zeile 675Zeile 675

function install_done()
{


function install_done()
{

	global $output, $db, $mybb, $errors, $cache, $lang;

	global $output, $db, $mybb, $errors, $cache, $lang, $config;


if(empty($mybb->input['adminuser']))
{


if(empty($mybb->input['adminuser']))
{

Zeile 755Zeile 755
		'buddylist' => '',
'ignorelist' => '',
'pmfolders' => '',

		'buddylist' => '',
'ignorelist' => '',
'pmfolders' => '',

		'notepad' => ''


		'notepad' => '',
'showredirect' => 'yes'

	);
$db->insert_query(TABLE_PREFIX.'users', $newuser);
$uid = $db->insert_id();

	);
$db->insert_query(TABLE_PREFIX.'users', $newuser);
$uid = $db->insert_id();