Changeset 15807


Ignore:
Timestamp:
2007/09/20 21:36:44 (15 years ago)
Author:
adachi
Message:

getTemplateName()をinstallviewでは使用しないように修正

File:
1 edited

Legend:

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

    r15797 r15807  
    7777        $this->_smarty->register_function("sfIsHTTPS","sfIsHTTPS"); 
    7878        $this->_smarty->default_modifiers = array('script_escape'); 
     79        $this->_smarty->force_compile = true; 
    7980    } 
    8081 
     
    227228     */ 
    228229    function getTemplateName() { 
    229         if (!defined('DEFAULT_DSN')) return null; 
    230  
    231230        $objQuery = new SC_Query(); 
    232231        $arrRet = $objQuery->select('top_tpl', 'dtb_baseinfo'); 
     
    329328        $this->_smarty->compile_dir = $compile_dir; 
    330329    } 
     330    function getTemplateName() {} 
    331331} 
    332332 
Note: See TracChangeset for help on using the changeset viewer.