Index: /branches/feature-module-zeus/html/mobile/shopping/load_payment_module.php
===================================================================
--- /branches/feature-module-zeus/html/mobile/shopping/load_payment_module.php (revision 11894)
+++ /branches/feature-module-zeus/html/mobile/shopping/load_payment_module.php (revision 15440)
@@ -38,4 +38,5 @@
exit;
} else {
+ gfPrintLog("¥â¥¸¥å¡¼¥ë¥Õ¥¡¥¤¥ë¤Î¼èÆÀ¤Ë¼ºÇÔ".$path);
sfDispSiteError(FREE_ERROR_MSG, "", true, "¥â¥¸¥å¡¼¥ë¥Õ¥¡¥¤¥ë¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£
¤³¤Î¼ê³¤¤Ï̵¸ú¤È¤Ê¤ê¤Þ¤·¤¿¡£", true);
}
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit_mobile.tpl
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit_mobile.tpl (revision 15437)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit_mobile.tpl (revision 15440)
@@ -1,1 +1,102 @@
-aa
+
+
¥¯¥ì¥¸¥Ã¥È·èºÑ
+
+
+
+
+
+
+
+
+
+
+
+¤«¤´¤ò¸«¤ë
+TOP¥Ú¡¼¥¸¤Ø
+
+
+
+
+LOCKON CO.,LTD.
+
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.php
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.php (revision 15437)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.php (revision 15440)
@@ -9,5 +9,5 @@
class LC_Page {
function LC_Page() {
- if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {
+ if (GC_MobileUserAgent::isMobile()) {
$this->tpl_mainpage = MODULE_PATH . "mdl_zeus/zeus_credit_mobile.tpl";
} else {
@@ -25,13 +25,9 @@
$objPage = new LC_Page();
-$objView = new SC_SiteView();
+$objView = (GC_MobileUserAgent::isMobile()) ? new SC_MobileView() : new SC_SiteView();
$objCampaignSess = new SC_CampaignSession();
$objSiteInfo = $objView->objSiteInfo;
$arrInfo = $objSiteInfo->data;
-if (GC_MobileUserAgent::isMobile()) {
- sfDispSiteError(FREE_ERROR_MSG, "", false, "¥¯¥ì¥¸¥Ã¥È·èºÑ¤Ï¡¢¤´»ÈÍѤε¡¼ï¤Ë¤ÏÂбþ¤·¤Æ¤ª¤ê¤Þ¤»¤ó¡£", true);
- exit;
-}
// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹
Index: /branches/feature-module-zeus/data/include/mobile.inc
===================================================================
--- /branches/feature-module-zeus/data/include/mobile.inc (revision 15438)
+++ /branches/feature-module-zeus/data/include/mobile.inc (revision 15440)
@@ -144,15 +144,15 @@
return false;
}
+ return true;
+}
+
+/**
+ * ¥â¥Ð¥¤¥ë¥µ¥¤¥ÈÍѤΥ»¥Ã¥·¥ç¥ó´ØÏ¢¤Î½é´ü½èÍý¤ò¹Ô¤¦¡£
+ *
+ * @return void
+ */
+function lfMobileInitSession() {
+ $session_ok = true;
- gfprintlog("¥»¥Ã¥·¥ç¥ó¥Ç¡¼¥¿¤¬Í¸ú");
- return true;
-}
-
-/**
- * ¥â¥Ð¥¤¥ë¥µ¥¤¥ÈÍѤΥ»¥Ã¥·¥ç¥ó´ØÏ¢¤Î½é´ü½èÍý¤ò¹Ô¤¦¡£
- *
- * @return void
- */
-function lfMobileInitSession() {
// ¥»¥Ã¥·¥ç¥óID¤Î¼õ¤±ÅϤ·¤Ë¥¯¥Ã¥¡¼¤ò»ÈÍѤ·¤Ê¤¤¡£
ini_set('session.use_cookies', '0');
@@ -167,5 +167,6 @@
gfprintlog("lfMobileInitSession()¡§¥»¥Ã¥·¥ç¥ó¥»¥Ã¥È -> OK");
} else {
- gfprintlog("lfMobileInitSession()¡§¥»¥Ã¥·¥ç¥ó¥»¥Ã¥È -> NG");
+ gfprintlog("lfMobileInitSession()¡§¥»¥Ã¥·¥ç¥ó¥»¥Ã¥È -> NG");
+ $session_ok = false;
}
@@ -174,4 +175,5 @@
} else {
gfprintlog("lfMobileInitSession()¡§Í¸úÀ¥Á¥§¥Ã¥¯ -> NG");
+ $session_ok = false;
}
gfprintlog("lfMobileInitSession()¡§REQUEST_METHOD -> " . $_SERVER['REQUEST_METHOD']);
@@ -181,10 +183,5 @@
// ¥»¥Ã¥·¥ç¥óID¤Þ¤¿¤Ï¥»¥Ã¥·¥ç¥ó¥Ç¡¼¥¿¤¬Ìµ¸ú¤Ê¾ì¹ç¤Ï¡¢¥»¥Ã¥·¥ç¥óID¤òºÆÀ¸À®
// ¤·¡¢¥»¥Ã¥·¥ç¥ó¥Ç¡¼¥¿¤ò½é´ü²½¤¹¤ë¡£
- if ($sessionId === false) {
- gfprintlog("\$sessionId === false");
- }
-
- if ($sessionId === false || !lfMobileValidateSession()) {
-
+ if (!$session_ok) {
session_regenerate_id();
$_SESSION = array('mobile' => array('model' => GC_MobileUserAgent::getModel(),