Ignore:
Timestamp:
2010/12/31 23:23:49 (13 years ago)
Author:
Seasoft
Message:

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある) 一部実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_View.php

    r19803 r19805  
    2424$SC_VIEW_PHP_DIR = realpath(dirname(__FILE__)); 
    2525require_once($SC_VIEW_PHP_DIR . "/../module/Smarty/libs/Smarty.class.php"); 
    26 //require_once(CLASS_EX_FILE_PATH . "util_extends/SC_Utils_Ex.php"); 
     26//require_once(CLASS_EX_REALDIR . "util_extends/SC_Utils_Ex.php"); 
    2727 
    2828class SC_View { 
     
    199199    function SC_AdminView() { 
    200200        parent::SC_View(false); 
    201         $this->_smarty->template_dir = TEMPLATE_ADMIN_FILE_PATH; 
    202         $this->_smarty->compile_dir = COMPILE_ADMIN_FILE_PATH; 
     201        $this->_smarty->template_dir = TEMPLATE_ADMIN_REALDIR; 
     202        $this->_smarty->compile_dir = COMPILE_ADMIN_REALDIR; 
    203203        $this->assign('TPL_DIR_DEFAULT', URL_PATH . USER_DIR . USER_PACKAGE_DIR . DEFAULT_TEMPLATE_NAME . '/'); 
    204204        $this->assign('TPL_DIR', URL_PATH . USER_DIR . USER_PACKAGE_DIR . ADMIN_DIR); 
     
    244244        parent::SC_SiteView($setPrevURL); 
    245245        $this->_smarty->template_dir = MOBILE_TEMPLATE_DIR; 
    246         $this->_smarty->compile_dir = MOBILE_COMPILE_FILE_PATH; 
     246        $this->_smarty->compile_dir = MOBILE_COMPILE_REALDIR; 
    247247        $this->assignTemplatePath(DEVICE_TYPE_MOBILE); 
    248248    } 
     
    253253        parent::SC_SiteView($setPrevURL); 
    254254        $this->_smarty->template_dir = SMARTPHONE_TEMPLATE_DIR; 
    255         $this->_smarty->compile_dir = SMARTPHONE_COMPILE_FILE_PATH; 
     255        $this->_smarty->compile_dir = SMARTPHONE_COMPILE_REALDIR; 
    256256        $this->assignTemplatePath(DEVICE_TYPE_SMARTPHONE); 
    257257    } 
Note: See TracChangeset for help on using the changeset viewer.