Index: /branches/version-2_5-dev/html/handle_error.php
===================================================================
--- /branches/version-2_5-dev/html/handle_error.php	(revision 20466)
+++ /branches/version-2_5-dev/html/handle_error.php	(revision 20591)
@@ -95,5 +95,5 @@
  */
 function displaySystemError($errstr = null) {
-    if (SC_Display::detectDevice() == DEVICE_TYPE_MOBILE) {
+    if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) {
         ob_clean();
         ob_start(array('SC_MobileEmoji', 'handler'));
Index: /branches/version-2_5-dev/html/require.php
===================================================================
--- /branches/version-2_5-dev/html/require.php	(revision 20466)
+++ /branches/version-2_5-dev/html/require.php	(revision 20591)
@@ -29,5 +29,5 @@
 require_once HTML_REALDIR . HTML2DATA_DIR . 'require_base.php';
 
-if (SC_Display::detectDevice() == DEVICE_TYPE_MOBILE){
+if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE){
     define('MOBILE_SITE', true);
     $objMobile = new SC_Helper_Mobile_Ex();
