mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02: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:
@@ -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'] : '';
|
||||
|
Reference in New Issue
Block a user