+ add dbPort param.

This commit is contained in:
wangchunsheng
2009-12-31 10:02:17 +00:00
parent 1fc917a42b
commit 283841c9b1
3 changed files with 6 additions and 1 deletions

View File

@@ -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使用的库';

View File

@@ -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>

View File

@@ -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'; //密码。