Zeile 3 | Zeile 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 3006 2007-04-11 06:14:56Z Tikitiki $
|
*/ error_reporting(E_ALL & ~E_NOTICE);
| */ error_reporting(E_ALL & ~E_NOTICE);
|
Zeile 364 | Zeile 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 456 | Zeile 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 485 | Zeile 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 581 | Zeile 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 675 | Zeile 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'])) {
|