Index: branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php	(revision 19987)
+++ branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php	(revision 20135)
@@ -53,15 +53,7 @@
      */
     function init() {
-        parent::init();
-
-        $this->tpl_title = 'システムエラー';
-        $this->adminPage = SC_Utils_Ex::sfIsAdminFunction();
-
-        if ($this->adminPage) {
-            $this->tpl_mainpage = 'login_error.tpl';
-            $this->frame = LOGIN_FRAME;
-        } else {
-            $this->frame = SITE_FRAME;
-        }
+		parent::init();
+        $this->tpl_mainpage = 'error.tpl';
+         $this->tpl_title = 'システムエラー';
     }
 
@@ -72,8 +64,25 @@
      */
     function process() {
-        require_once CLASS_REALDIR . 'SC_MobileUserAgent.php';
+        $this->action();
+        $this->sendResponse();
+    }
 
+    /**
+     * Page のプロセス。
+     *
+     * @return void
+     */
+    function action(){
+		$this->adminPage = SC_Utils_Ex::sfIsAdminFunction();
+
+        if ($this->adminPage) {
+            $this->tpl_mainpage = 'login_error.tpl';
+            $this->frame = LOGIN_FRAME;
+        } else {
+            $this->frame = SITE_FRAME;
+        }
+		
         $objView = null;
-        if (SC_MobileUserAgent::isMobile() && $this->adminPage == false) {
+        if (SC_Display::detectDevice() == DEVICE_TYPE_MOBILE && $this->adminPage == false) {
             $objView = new SC_InstallView(MOBILE_TEMPLATE_REALDIR, MOBILE_COMPILE_REALDIR);
         } elseif($this->adminPage) {
Index: branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_DispError.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_DispError.php	(revision 20116)
+++ branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_DispError.php	(revision 20135)
@@ -45,5 +45,6 @@
     function init() {
         parent::init();
-        $this->tpl_mainpage = 'login_error.tpl';
+        $this->tpl_mainpage = 'error.tpl';
+        $this->tpl_title = 'ログインエラー';
     }
 
@@ -54,6 +55,14 @@
      */
     function process() {
-        $objView = new SC_AdminView();
-
+        $this->action();
+        $this->sendResponse();
+    }
+	
+    /**
+     * Page のプロセス。
+     *
+     * @return void
+     */
+    function action(){
         switch ($this->type) {
             case LOGIN_ERROR:
@@ -73,7 +82,4 @@
                 break;
         }
-
-        $objView->assignobj($this);
-        $objView->display(LOGIN_FRAME);
     }
 
