+ add dbPort param.
This commit is contained in:
@@ -68,6 +68,7 @@ $lang->install->requestType = 'URL方式';
|
||||
$lang->install->requestTypes['GET'] = '普通方式';
|
||||
$lang->install->requestTypes['PATH_INFO'] = '静态友好方式';
|
||||
$lang->install->dbHost = '数据库服务器';
|
||||
$lang->install->dbPort = '服务器端口';
|
||||
$lang->install->dbUser = '数据库用户名';
|
||||
$lang->install->dbPassword = '数据库密码';
|
||||
$lang->install->dbName = 'PMS使用的库';
|
||||
|
||||
@@ -42,6 +42,10 @@
|
||||
<th><?php echo $lang->install->dbHost;?></th>
|
||||
<td><?php echo html::input('dbHost', 'localhost');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->install->dbPort;?></th>
|
||||
<td><?php echo html::input('dbPort', '3306');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->install->dbUser;?></th>
|
||||
<td><?php echo html::input('dbUser', 'root');?></td>
|
||||
|
||||
@@ -30,7 +30,7 @@ $configContent = <<<EOT
|
||||
\$config->webRoot = '$webRoot'; //web网站的根目录。
|
||||
\$config->requestType = '$requestType'; //如何获取当前请求的信息,可选值:PATH_INFO|GET
|
||||
\$config->db->host = '$dbHost'; //mysql主机。
|
||||
\$config->db->port = '3306'; //mysql主机端口号。
|
||||
\$config->db->port = '$dbPort'; //mysql主机端口号。
|
||||
\$config->db->name = '$dbName'; //数据库名称。
|
||||
\$config->db->user = '$dbUser'; //数据库用户名。
|
||||
\$config->db->password = '$dbPassword'; //密码。
|
||||
|
||||
Reference in New Issue
Block a user