| « Apache 2.2.6 | b2evolution 1.9.3 » |
b2evolution 1.10.2
久しぶりの更新。
このブログで使用しているb2evolutionというブログツールが1.10.2に更新されていたのでアップグレード。
Firefoxで見ると、ブログが文字化けする問題は、直っていなかったようなので、前回と同様に、
--- inc/MODEL/settings/_locale.funcs.php~ Sat Mar 10 23:15:16 2007
+++ inc/MODEL/settings/_locale.funcs.php Wed Apr 4 21:43:40 2007
@@ -869,7 +869,7 @@
if( ! empty($force_io_charset_if_accepted) )
{ // we want to force a specific charset:
if( ! isset($_SERVER['HTTP_ACCEPT_CHARSET']) // all allowed
- || preg_match( '~\b(\*|'.$force_io_charset_if_accepted.')\b~', $_SERVER['HTTP_ACCEPT_CHARSET'] ) )
+ || preg_match( '~\b(\*|'.$force_io_charset_if_accepted.')\b~i', $_SERVER['HTTP_ACCEPT_CHARSET'] ) )
{
$req_io_charset = $force_io_charset_if_accepted; // pretend that the first one has been requested
}
の修正をした。
また、これはいつもやっていることだけど、スタブファイルに勝手に.phpのsufixを付けて欲しくないので、
--- inc/MODEL/collections/_blog.class.php~ Sat May 26 02:44:38 2007
+++ inc/MODEL/collections/_blog.class.php Thu Aug 16 17:12:06 2007
@@ -504,7 +504,7 @@
{ // We want to force the dynamic page but the URL is not explicitly dynamic
// This is needed when a static page is taking control of domain.com/stub and we want an explicit link to the LATEST content, which can only be gotten at domain.com/stub.php
// fp> This creates a small problem with empty stubs (domain.com/.php). This should be fixed by using a fourth blog_access_type: default, index.php, stub, *default_stub* . Consequence: require the stub fied on blog properties form when stub mode is selected
- $blogurl .= '.php';
+ // $blogurl .= '.php';
}
return $blogurl;
も修正。
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)