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 2439 2006-11-26 14:00:13Z CraKteR $
| * $Id: index.php 3006 2007-04-11 06:14:56Z Tikitiki $
|
*/ error_reporting(E_ALL & ~E_NOTICE);
| */ error_reporting(E_ALL & ~E_NOTICE);
|
Zeile 24 | Zeile 24 |
---|
require_once MYBB_ROOT.'inc/functions_user.php'; require_once MYBB_ROOT.'inc/class_language.php'; $lang = new MyLanguage();
|
require_once MYBB_ROOT.'inc/functions_user.php'; require_once MYBB_ROOT.'inc/class_language.php'; $lang = new MyLanguage();
|
$lang->set_path(MYBB_ROOT.'install/resources/');
| $lang->set_path(MYBB_ROOT.'install/resources');
|
$lang->load('language');
// Include the necessary contants for installation
| $lang->load('language');
// Include the necessary contants for installation
|
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'])) {
|