if (設定してれば and !$client->is_mobile) { ケータイ類以外はお断り; } if (セッション初期化時) { if ($local_args['m']) { いきなりフォーム送信かおめでてえな; } if (!$client->is_mobile) { if (設定してれば and $dnsbl->isListed($_SERVER['REMOTE_ADDR'])) { 串規制中だお; } } }
--- pc2m.php 10 Jun 2006 14:33:01 -0000 1.1.1.10 +++ pc2m.php 10 Jun 2006 14:44:51 -0000 @@ -41,7 +41,7 @@ require_once 'ClientDetect.class.php'; $client =& new ClientDetect(); if ((defined('ALLOW_ONLYMOBILE') and ALLOW_ONLYMOBILE === true) - or (defined('RESTRICT_MOZILLA_AGENT') and RESTRICT_MOZILLA_AGENT === true) +// or (defined('RESTRICT_MOZILLA_AGENT') and RESTRICT_MOZILLA_AGENT === true) and !$client->is_mobile) { if (!isset($exclude_iprange) or !$client->_compareIp($client->_dumpAddress($_SERVER['REMOTE_ADDR']), $exclude_iprange)) {
アイテムの追加画面で「http://www.google.co.jp/」と入力して「追加」をクリックすると 未分類画面で「http://www.google.co.jp/ を追加しました。条件に一致する項目がありません。」 再度アイテムの追加画面で「更新チェック実行」をクリックすると「Could not open data file or find item.」 ちなみにアイテムの追加画面には、追加したURLのリストなどはなく、常に初期状態のまま。
これって正しい動作?・・・じゃないよねw それともなんか設定が必要なのかなあ・・・。
data内にはconfig.dat.phpとitem、log、tempが生成されている。 3つのディレクトリはすべて空。 「追加」を行うとdata/config.dat.phpは更新されてる模様。 「Could not open data file or find item.」メッセージは data/itemの中が空なので発生していることはわかった。