annotate install/step4.php @ 160:47a3acf19870

windows mapping for full width tilde may cause problem on unix
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 02 Apr 2010 20:40:55 +0900
parents a935b4789aff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
1 <?php
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
2 include_once( "../config.php");
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
3 include_once( INSTALL_PATH."/Settings.class.php" );
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
4
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
5 // 設定の保存
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
6 $settings = Settings::factory();
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
7 $settings->post();
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
8 $settings->save();
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
9
40
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
10 ?>
32
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
11
40
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
13 "http://www.w3.org/TR/html4/loose.dtd">
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
14 <html>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
15 <head>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
16 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
17 <meta http-equiv="Content-Style-Type" content="text/css">
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
18 <title>インストール最終ステップ</title>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
19 </head>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
20
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
21 <body>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
22
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
23 <p>初期設定が完了しました。下のリンクをクリックするとEPGの初回受信が始まります。
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
24 EPGの受信には20~50分程度はかかります。初回受信が終了するまで番組表は表示できません。</p>
32
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
25
40
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
26 <p>EPG受信後、/etc/cron.d/以下にcronによるEPG受信の自動実行を設定する必要があります。
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
27 Debian/Ubuntu用の設定ファイルは<?php echo INSTALL_PATH; ?>/cron.d/getepgです。Debian/Ubuntuをお使いの方は<br>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
28 <pre>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
29 $ sudo cp <?php echo INSTALL_PATH; ?>/cron.d/getepg /etc/cron.d/ [Enter]
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
30 </pre>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
31 <br>という具合にコピーするだけで動作するでしょう。それ以外のディストリビューションをお使いの方は
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
32 Debian/Ubuntu用の設定ファイルを参考に、適切にcronの設定を行ってください。</p>
32
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
33
40
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
34 <p>なお、設定ミスや受信データの異常によってEPGの初回受信に失敗すると番組表の表示はできません。
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
35 設定ミスが疑われる場合、<a href="<?php echo $settings->install_url; ?>/install/step1.php">インストール設定</a>を実行し直してください。
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
36 また、手動でEPGの受信を試みるのもひとつの方法です。コンソール上で、<br>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
37 <pre>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
38 $ <?php echo INSTALL_PATH; ?>/getepg.php [Enter]
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
39 </pre>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
40 <br>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
41 と実行してください。</p>
32
01a8fdc0cebb testing: Web base setting page.
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
42
40
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
43 <a href="step5.php">このリンクをクリックするとEPGの初回受信が始まります</a>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
44
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
45 </body>
a935b4789aff fix: bug
Sushi-k <epgrec@park.mda.or.jp>
parents: 32
diff changeset
46 </html>