Changeset 15823


Ignore:
Timestamp:
2007/09/21 11:02:38 (16 years ago)
Author:
nanasess
Message:

USER_DIR を TEMPLATE_DIR に修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/helper/SC_Helper_PageLayout.php

    r15686 r15823  
    4444        // メインテンプレートファイルを設定 
    4545        if (!isset($objPage->tpl_mainpage)) { 
    46             $objPage->tpl_mainpage = HTML_PATH . $arrPageData[0]['tpl_dir'] . $arrPageData[0]['filename'] . ".tpl"; 
     46            // $objPage->tpl_mainpage = HTML_PATH . $arrPageData[0]['tpl_dir'] . $arrPageData[0]['filename'] . ".tpl"; 
     47            $objPage->tpl_mainpage = TEMPLATE_DIR . $arrPageData[0]['filename'] . ".tpl"; 
    4748        } 
    4849 
     
    8384        $sql .= " ,url";                // URL 
    8485        $sql .= " ,php_dir";            // php保存先ディレクトリ 
    85         $sql .= " ,tpl_dir";            // tpl保存先ディdレクトリ 
     86        $sql .= " ,tpl_dir";            // tpl保存先ディレクトリ 
    8687        $sql .= " ,filename";           // ファイル名称 
    8788        $sql .= " ,header_chk ";        // ヘッダー使用FLG 
     
    168169                        $arrNavi[$key]['include'] = "<!--{include file='".$val['php_path']."'}-->"; 
    169170                    }else{ 
    170                         $arrNavi[$key]['tpl_path'] = USER_PATH . $val['tpl_path']; 
    171                         $arrNavi[$key]['include'] = "<!--{include file='". USER_PATH . $val['tpl_path'] ."'}-->"; 
     171                        $arrNavi[$key]['tpl_path'] = TEMPLATE_DIR . $val['tpl_path']; 
     172                        $arrNavi[$key]['include'] = "<!--{include file='". TEMPLATE_DIR . $val['tpl_path'] ."'}-->"; 
    172173                    } 
    173174 
Note: See TracChangeset for help on using the changeset viewer.