Ignore:
Timestamp:
2013/08/15 19:42:13 (11 years ago)
Author:
h_yoshimoto
Message:

#2334 再度適用

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/helper/SC_Helper_PageLayout.php

    r23057 r23069  
    6161 
    6262        $objPage->tpl_mainpage = $this->getTemplatePath($device_type_id) . $arrPageData[0]['filename'] . '.tpl'; 
    63  
     63         
     64        if (!file_exists($objPage->tpl_mainpage)) { 
     65            $msg = 'メイン部のテンプレートが存在しません。[' . $objPage->tpl_mainpage . ']'; 
     66            trigger_error($msg, E_USER_ERROR); 
     67        } 
     68         
    6469        $objPage->arrPageLayout =& $arrPageData[0]; 
    6570        if (strlen($objPage->arrPageLayout['author']) === 0) { 
Note: See TracChangeset for help on using the changeset viewer.