Changeset 23070


Ignore:
Timestamp:
2013/08/15 19:45:02 (7 years ago)
Author:
h_yoshimoto
Message:

#2334 再度適用

File:
1 edited

Legend:

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

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