mirror of
https://github.com/typecho/typecho.git
synced 2025-03-14 15:09:41 +01:00
修复强制启用rewrite时可能被挡住的bug
This commit is contained in:
parent
625adb8395
commit
5dda5a5980
@ -222,7 +222,8 @@ RewriteRule . {$basePath}index.php [L]
|
||||
. _t('请调整你的目录权限, 或者手动创建一个.htaccess文件.') . '</strong>';
|
||||
}
|
||||
|
||||
$errorStr .= '<br />' . _t('如果你仍然想启用此功能, <a href="%s">请点击这里</a>', Typecho_Common::url('index.php/action/options-permalink?do=enableRewriteAnyway', $this->options->siteUrl));
|
||||
$errorStr .= '<br />' . _t('如果你仍然想启用此功能, <a href="%s">请点击这里</a>',
|
||||
$this->security->getTokenUrl(Typecho_Common::url('index.php/action/options-permalink?do=enableRewriteAnyway', $this->options->siteUrl)));
|
||||
|
||||
$form->addInput($rewrite->addRule(array($this, 'checkRewrite'), $errorStr));
|
||||
$patterns = array('/archives/[cid:digital]/' => _t('默认风格') . ' <code>/archives/{cid}/</code>',
|
||||
|
Loading…
x
Reference in New Issue
Block a user