• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-jp-ancient: Commit

Nucleus CMS日本語版SVNをgit-svnしたもの。リポジトリの変換作業用


Commit MetaInfo

Revisionc14df83ae44431cf6a0119b616b714f1e241c0c5 (tree)
Zeit2009-03-18 04:44:24
Autorkmorimatsu <kmorimatsu@1ca2...>
Commiterkmorimatsu

Log Message

Support using mb-emulator when installing Nucleus.

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk/utf8@985 1ca29b6e-896d-4ea0-84a5-967f57386b96

Ändern Zusammenfassung

Diff

--- a/install.php
+++ b/install.php
@@ -480,6 +480,9 @@ function doInstall() {
480480 $weblog_ping = postVar('Weblog_ping');
481481
482482 $_POST = array();
483+ if (!extension_loaded('mbstring')) {
484+ include('nucleus/libs/mb_emulator/mb-emulator.php');
485+ }
483486 if ($charset == 'ujis') {
484487 define('_CHARSET', 'EUC-JP');
485488 $config_sitename = mb_convert_encoding($config_sitename, _CHARSET, 'UTF-8');
Show on old repository browser