Revision 16392,
1.4 KB
checked in by nanasess, 17 years ago
(diff) |
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Id Revision Date
-
Property svn:mime-type set to
text/x-httpd-php
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | |
---|
8 | // {{{ requires |
---|
9 | require_once(CLASS_PATH . "pages/LC_Page.php"); |
---|
10 | |
---|
11 | /** |
---|
12 | * リダイレクト のページクラス. |
---|
13 | * |
---|
14 | * メールからのリダイレクト用 |
---|
15 | * |
---|
16 | * @package Page |
---|
17 | * @author LOCKON CO.,LTD. |
---|
18 | * @version $Id$ |
---|
19 | */ |
---|
20 | class LC_Page_Redirect extends LC_Page { |
---|
21 | |
---|
22 | // }}} |
---|
23 | // {{{ functions |
---|
24 | |
---|
25 | /** |
---|
26 | * Page を初期化する. |
---|
27 | * |
---|
28 | * @return void |
---|
29 | */ |
---|
30 | function init() { |
---|
31 | parent::init(); |
---|
32 | } |
---|
33 | |
---|
34 | /** |
---|
35 | * Page のプロセス. |
---|
36 | * |
---|
37 | * @return void |
---|
38 | */ |
---|
39 | function process() { |
---|
40 | } |
---|
41 | |
---|
42 | /** |
---|
43 | * モバイルページを初期化する. |
---|
44 | * |
---|
45 | * @return void |
---|
46 | */ |
---|
47 | function mobileInit() { |
---|
48 | $this->init(); |
---|
49 | } |
---|
50 | |
---|
51 | /** |
---|
52 | * Page のプロセス(モバイル). |
---|
53 | * |
---|
54 | * @return void |
---|
55 | */ |
---|
56 | function mobileProcess() { |
---|
57 | define('SKIP_MOBILE_INIT', true); |
---|
58 | |
---|
59 | if (isset($_GET['token'])) { |
---|
60 | $next_url = GC_Utils_Ex::gfFinishKaraMail($_GET['token']); |
---|
61 | } |
---|
62 | |
---|
63 | // $next_url には, セッションID付与済み |
---|
64 | if (isset($next_url) && $next_url !== false) { |
---|
65 | $this->sendRedirect($next_url); |
---|
66 | } else { |
---|
67 | $this->sendRedirect(MOBILE_SITE_URL, true); |
---|
68 | } |
---|
69 | } |
---|
70 | |
---|
71 | /** |
---|
72 | * デストラクタ. |
---|
73 | * |
---|
74 | * @return void |
---|
75 | */ |
---|
76 | function destroy() { |
---|
77 | parent::destroy(); |
---|
78 | } |
---|
79 | } |
---|
80 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.