Changeset 21761


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

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

Location:
branches/version-2_12-dev
Files:
3 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?> 
  • branches/version-2_12-dev/html/install/sql/insert_data.sql

    r21759 r21761  
    12451245INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('HOOK_POINT_PREPROCESS', 'LC_Page_preProcess', 1301, 'フックポイント(プレプロセス)'); 
    12461246INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('HOOK_POINT_PROCESS', 'LC_Page_process', 1302, 'フックポイント(プロセス)'); 
     1247INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SMARTY_FORCE_COMPILE_MODE', 'false', 1401, 'SMARTYコンパイルモード'); 
    12471248 
    12481249INSERT INTO dtb_index_list (table_name, column_name, recommend_flg, recommend_comment) VALUES ('dtb_customer', 'email_mobile', 0, '会員数増加時のログイン処理速度を向上させたいときに試してみてください'); 
Note: See TracChangeset for help on using the changeset viewer.