Vergleich install/index.php - 1.2.0 - 1.2.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

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

 * $Id: index.php 2191 2006-09-03 12:11:04Z chris $

 * $Id: index.php 2224 2006-09-14 00:35:33Z chris $

 */
error_reporting(E_ALL & ~E_NOTICE);


 */
error_reporting(E_ALL & ~E_NOTICE);


Zeile 24Zeile 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('.');
$lang->language = 'resources';

$lang->set_path('resources/');


$lang->load('language');

// Include the necessary contants for installation

$lang->load('language');

// Include the necessary contants for installation

Zeile 762Zeile 761
	$db->query("INSERT INTO ".TABLE_PREFIX."adminoptions VALUES ('{$uid}','','','1','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes')");

// Automatic Login

	$db->query("INSERT INTO ".TABLE_PREFIX."adminoptions VALUES ('{$uid}','','','1','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes','yes')");

// Automatic Login

	my_setcookie('mybbuser', $uid.'_'.$loginkey);

	my_setcookie('mybbuser', $uid.'_'.$loginkey, null, true);

	ob_end_flush();

echo $lang->done . '</p>';

	ob_end_flush();

echo $lang->done . '</p>';