Project

General

Profile

« Previous | Next » 

Revision 1850

Added by Dietmar almost 12 years ago

! add default_timezone in admin account by new installation

View differences:

save.php
431 431
	if(!$database->query($insert_admin_group)) { set_error($database->get_error()); }
432 432

  
433 433
// Admin user
434
    $insert_admin_user = "INSERT INTO `".TABLE_PREFIX."users` VALUES (1, 1, '1', 1, '$admin_username', '".md5($admin_password)."', '', 0, '', 0, 'Administrator', '$admin_email', 0, '', '', '$default_language', '', 0, '');";
434
    $insert_admin_user = "INSERT INTO `".TABLE_PREFIX."users` VALUES (1, 1, '1', 1, '$admin_username', '".md5($admin_password)."', '', 0, '', 0, 'Administrator', '$admin_email', $default_timezone, '', '', '$default_language', '', 0, '');";
435 435
	if(!$database->query($insert_admin_user)) { set_error($database->get_error()); }
436 436

  
437 437
// Search layout default data

Also available in: Unified diff