1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

Minor changes, added visual confirmation stuff to mysql_basic and changed

user_avatar_type to null since avatars arn't used in registartion.


git-svn-id: file:///svn/phpbb/trunk@3433 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2003-01-30 20:06:17 +00:00
parent 3730697f18
commit b1d7522d06
3 changed files with 7 additions and 4 deletions

View File

@ -555,6 +555,7 @@ else
{ {
if ( $dbms != 'msaccess' ) if ( $dbms != 'msaccess' )
{ {
// //
// Ok we have the db info go ahead and read in the relevant schema // Ok we have the db info go ahead and read in the relevant schema
// and work on building the table.. probably ought to provide some // and work on building the table.. probably ought to provide some
@ -698,7 +699,7 @@ else
@umask(0111); @umask(0111);
$no_open = FALSE; $no_open = FALSE;
if ( !($fp = @fopen('../config.'.$phpEx, 'w')) ) if ( !($fp = fopen('../config.'.$phpEx, 'w')) )
{ {
// //
// Unable to open the file writeable do something here as an attempt // Unable to open the file writeable do something here as an attempt
@ -747,7 +748,7 @@ else
); );
} }
$template->assign_vars(array( /*$template->assign_vars(array(
"L_INSTRUCTION_TEXT" => $lang['Unwriteable_config'], "L_INSTRUCTION_TEXT" => $lang['Unwriteable_config'],
"L_SUBMIT" => $lang['Download_config'], "L_SUBMIT" => $lang['Download_config'],
@ -756,7 +757,8 @@ else
); );
$template->pparse('body'); $template->pparse('body');
*/
exit; exit;
} }

View File

@ -74,6 +74,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('avatar_max_height'
INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_enable','1'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_enable','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_fax', ''); INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_fax', '');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_mail', ''); INSERT INTO phpbb_config (config_name, config_value) VALUES ('coppa_mail', '');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('enable_confirm', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('auth_method','db'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('auth_method','db');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_server', ''); INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_server', '');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_base_dn', ''); INSERT INTO phpbb_config (config_name, config_value) VALUES ('ldap_base_dn', '');

View File

@ -717,7 +717,7 @@ CREATE TABLE phpbb_users (
user_notify_pm tinyint(1) DEFAULT '1' NOT NULL, user_notify_pm tinyint(1) DEFAULT '1' NOT NULL,
user_popup_pm tinyint(1) DEFAULT '0' NOT NULL, user_popup_pm tinyint(1) DEFAULT '0' NOT NULL,
user_avatar char(100), user_avatar char(100),
user_avatar_type tinyint(4) DEFAULT '0' NOT NULL, user_avatar_type tinyint(4) DEFAULT '0',
user_avatar_width tinyint(4) UNSIGNED, user_avatar_width tinyint(4) UNSIGNED,
user_avatar_height tinyint(4) UNSIGNED, user_avatar_height tinyint(4) UNSIGNED,
user_sig text, user_sig text,