mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
set dbhost to localhost by default. this will prevent users forgetting to enter this setting and localhost is in 90% of the cases correct.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3791 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
070f82e91e
commit
77333e5167
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ $upgrade_now = (!empty($HTTP_POST_VARS['upgrade_now'])) ? $HTTP_POST_VARS['upgra
|
|||
|
||||
$dbms = isset($HTTP_POST_VARS['dbms']) ? $HTTP_POST_VARS['dbms'] : '';
|
||||
|
||||
$dbhost = (!empty($HTTP_POST_VARS['dbhost'])) ? $HTTP_POST_VARS['dbhost'] : '';
|
||||
$dbhost = (!empty($HTTP_POST_VARS['dbhost'])) ? $HTTP_POST_VARS['dbhost'] : 'localhost';
|
||||
$dbuser = (!empty($HTTP_POST_VARS['dbuser'])) ? $HTTP_POST_VARS['dbuser'] : '';
|
||||
$dbpasswd = (!empty($HTTP_POST_VARS['dbpasswd'])) ? $HTTP_POST_VARS['dbpasswd'] : '';
|
||||
$dbname = (!empty($HTTP_POST_VARS['dbname'])) ? $HTTP_POST_VARS['dbname'] : '';
|
||||
|
|
Loading…
Add table
Reference in a new issue