Ignore:
Timestamp:
2012/04/17 21:30:26 (12 years ago)
Author:
h_yoshimoto
Message:

#1763 Smartyのコンパイル実行を制御するフラグを追加

Location:
branches/version-2_12-dev/data
Files:
2 edited

Legend:

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

    r21760 r21761  
    6363            $this->time_start = microtime(true); 
    6464        } 
     65 
     66        if(SMARTY_FORCE_COMPILE_MODE === true) { 
     67            $this->_smarty->force_compile = true; 
     68        } else { 
     69            $this->_smarty->force_compile = false; 
     70        } 
    6571    } 
    6672 
  • branches/version-2_12-dev/data/mtb_constants_init.php

    r21759 r21761  
    467467/** フックポイント(プロセス) */ 
    468468define('HOOK_POINT_PROCESS', "LC_Page_process"); 
     469/** SMARTYコンパイルモード */ 
     470define('SMARTY_FORCE_COMPILE_MODE', false); 
    469471?> 
Note: See TracChangeset for help on using the changeset viewer.