Forums: Open Discussion (Thread #15249)

DEFAULT_URLの設定が上手くいきません (2007-06-15 17:10 by Anonymous #30190)

(某掲示板で質問したのですが流れてしまったのでこちらで質問させて頂きます)
自分のサイトのRSSフィードを携帯で表示したいのですが、

http://○○○.com/i/index.php?RSSフィードのアドレス

(/i/にpc2mを設置してます)これを

http://○○○.com/i/

にアクセスすれば表示出来るようにと、Config.inc.phpのDEFAULT_URLの値に

// define('DEFAULT_URL', 'RSSフィードのアドレス');

としたのですが、http://○○○.com/i/ にアクセスしてもデフォルト?の画面のままです。
なにか根本的に間違っているのでしょうか?よろしくお願いします。

Reply to #30190×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: DEFAULT_URLの設定が上手くいきません (2007-06-15 17:23 by ucb #30191)

先頭の「//」(スラッシュ×2)はコメント記号なので
これを除去しない限り指定は無視されたままです。
ちなみに、「/* ~ */」の範囲もコメントです。
Reply to #30190

Reply to #30191×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: DEFAULT_URLの設定が上手くいきません (2007-06-16 16:21 by Anonymous #30198)

ucb様

有り難うございました。こんな初歩的な事も分かりませんでお恥ずかしいです。
無事表示する事が出来ました。PHPの基礎を勉強しようと思います。
Reply to #30190

Reply to #30198×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login