Drupal node 2at PHP
Drupal node 2 - 暇つぶし2ch260:nobodyさん
07/02/08 14:11:34 4gcBo4rc
URLリンク(drupal.jp)
ここにも書いてありました

".htaccess" と "sites/default/settings.php" もバックアップとって再設定した方がよいですね。

settings.phpですが、

/**
* We try to set the correct cookie domain. If you are experiencing problems
* try commenting out the code below or specifying the cookie domain by hand.
*/
if (isset($_SERVER['HTTP_HOST'])) {
$domain = '.'. preg_replace('`^www.`', '', $_SERVER['HTTP_HOST']);
// Per RFC 2109, cookie domains must contain at least one dot other than the
// first. For hosts such as 'localhost', we don't set a cookie domain.
if (count(explode('.', $domain)) > 2) {
ini_set('session.cookie_domain', $domain);
}
}
てのが追加されてましたが、これってどういう挙動なんでしょうか?



次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch