hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » xpwiki » xpWiki開発日記 » 2008-01-18

2008 1月 18 (金)
 

Ver 3.57 - 3.57.1 (マルチドメイン対策とデフォルトスキン設定方法の変更など) anchor.png Edit

Page Top

マルチドメイン対策 anchor.png Edit

XOOPS_URL を動的に変更しているサイト構成に対応するため、ページレンダリングやプラグインなどで レンダリング後のhtmlをキャッシュする場合は、スキームとホスト名を取り除いて保存するようにしました。

  • 関連スレッド (thanks naaon)
Page Top

デフォルトスキン設定方法の変更 anchor.png Edit

pukiwiki.ini.php にて、デフォルトスキンを変更する場合に、

1
2
3
4
//default skin name
$const['SKIN_NAME'] = 'default';
// skin directory
$const['SKIN_DIR'] = 'skin/' . $const['SKIN_NAME'] . '/';

この設定を 1組として変更しなければならず、分かりづらいということがありましたので、$const['SKIN_NAME'] のみの設定で、対応できるように変更しました。$const['SKIN_DIR'] については、ini ファイル読み込み後にプログラム中で設定されます。

よって、デフォルトスキン設定に関する設定項目は、

1
2
//default skin name
$const['SKIN_NAME'] = 'default';

これだけになりました。

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-01-20 16:27 nao-pon
    • * xoops_version.php (1.281):
      • Version 3.57.1
  • 2008-01-20 16:27 nao-pon
    • * plugin/rss.inc.php (1.25):
      • Use 'func->add_MyHostUrl($html)'.
  • 2008-01-20 16:25 nao-pon
    • * class/func/xpwiki_func.php (1.135):
      • Added a function 'add_MyHostUrl'.
  • 2008-01-20 15:51 nao-pon
    • * xoops_version.php (1.280):
      • Version 3.57
  • 2008-01-20 15:50 nao-pon
    • * ini/pukiwiki.ini.php (1.60):
      • Moved '$const['SKIN_DIR']' to func->init().
  • 2008-01-20 15:49 nao-pon
    • * plugin/: code.inc.php (1.13), fusen.inc.php (1.12), rss.inc.php (1.24):
      • Corresponded to the site setting into which "XOOPS_URL" was dynamically changed. (html caches)
  • 2008-01-20 15:49 nao-pon
    • * class/func/xpwiki_func.php (1.134):
      • Added a function 'strip_MyHostUrl'.
      • Corresponded to the site setting into which "XOOPS_URL" was dynamically changed. (html caches)
  • 2008-01-20 15:46 nao-pon
    • * class/xpwiki.php (1.66):
      • Added a new const, $this->cont['MY_HOST_URL'].
Page Top

一行コメント anchor.png Edit




トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
Counter: 226, today: 1, yesterday: 0
初版日時: 2008-01-20 (日) 16:28:26
最終更新: 2008-01-20 (日) 16:33:30 (JST) (5941d) by nao-pon
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
オンライン状況
653 人のユーザが現在オンラインです。 (11 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 653

もっと...
サイト情報