Changeset 16336


Ignore:
Timestamp:
2007/10/08 23:33:09 (15 years ago)
Author:
adachi
Message:

MOBILE_TEMPLATE_DIR定数が定義されているかの判定を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-templates/data/class/SC_View.php

    r16335 r16336  
    288288        $template_dir = TPL_PKG_PATH . $this->tplName . '/templates/'; 
    289289        // FIXME ¤³¤³¤Ë¥â¥Ð¥¤¥ëÍѽèÍý¤ò¶´¤ß¤¿¤¯¤Ê¤¤... 
    290         if ($this->_smarty->template_dir == MOBILE_TEMPLATE_DIR) { 
     290        if (defined(MOBILE_TEMPLATE_DIR) && $this->_smarty->template_dir == MOBILE_TEMPLATE_DIR) { 
    291291            $template_dir .= 'mobile/'; 
    292292        } 
Note: See TracChangeset for help on using the changeset viewer.