好久没关注Dotclear了,这个1.2.4的版本在4月11日就发布了,主要更新如下:

  • - fixes with images path handling.
  • - atom 1.0 feed.
  • - test $news before standard proces.
  • - fixed encoding detection.
  • - sanitized $_SERVER‘HTTP_HOST’.
  • - sanitized $_SERVER‘REQUEST_URI’.
  • - replaced “http://’.$_SERVER‘HTTP_HOST’.(…) by util::getHost().(…).
  • - added tests to check SQL results.
  • - sanitized admin interface params.
  • - sanitized generated URLs in class.multipage.php.
  • - fixed feeds mimetypes in template and feeds.

一直不知道,今天才发现,所有就升了下级,升级步骤如下:

首先到这里下载Dotclear1.2.4

wget http://www.dotclear.net/download/dotclear-1.2.4.tar.gz

将原来的dotclear目录备份为dotclear.old:

mv dotclear dotclear.old

然后解压1.2.4:

tar xvzf dotclear-1.2.4.tar.gz

然后将原来的conf/dotclear.ini复制到1.2.4的目录中:

cp dotclear.old/conf/dotclear.ini dotclear/conf/

然后访问以下地址进行升级:

http://你的站点/install

如果你使用了非缺省theme,将原来老的Theme复制到新的1.2.4目录中:

cp -rf dotclear.old/themes dotclear

如果你安装了其他插件,那么将它们也都复制到1.2.4的相应目录中,如:

cp -r dotclear.old/ecrire/tools/previousnext dotclear/ecrire/tools/

最后将资源文件夹,如images等复制到新的目录中:

cp -r dotclear.old/images dotclear/

升级就完成了。