fix #1135
fix #1136
This commit is contained in:
joyqi
2021-08-20 11:15:11 +08:00
parent d0cedde7c0
commit b3b9255c69
+2 -2
View File
@@ -98,7 +98,7 @@ function install_get_default_options(): array {
'theme:default' => 'a:2:{s:7:"logoUrl";N;s:12:"sidebarBlock";a:5:{i:0;s:15:"ShowRecentPosts";i:1;s:18:"ShowRecentComments";i:2;s:12:"ShowCategory";i:3;s:11:"ShowArchive";i:4;s:9:"ShowOther";}}',
'timezone' => '28800',
'lang' => install_get_lang(),
'charset' => _('UTF-8'),
'charset' => _t('UTF-8'),
'contentType' => 'text/html',
'gzip' => 0,
'generator' => 'Typecho ' . Typecho_Common::VERSION,
@@ -554,7 +554,7 @@ function install_step_2() {
<ul class="typecho-option">
<li>
<label class="typecho-label" for="dbPrefix"><?php _e('数据库前缀'); ?></label>
<input type="text" class="text" name="dbPrefix" id="dbPrefix" value="<?php _v('dbPrefix', 'typecho_'); ?>" />
<input type="text" class="text" name="dbPrefix" id="dbPrefix" value="typecho_" />
<p class="description"><?php _e('默认前缀是 "typecho_"'); ?></p>
</li>
</ul>