Ignore:
Timestamp:
2012/03/04 04:46:21 (12 years ago)
Author:
Seasoft
Message:

#1603 (プラグイン機能(エンジン部分))

  • 互換性のない旧プラグイン機能を削除

#1607 (未使用定義の削除)
#1605 (PHP4向けコードの除去、PHP5向けのコード最適化)

File:
1 edited

Legend:

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

    r21573 r21583  
    6161 
    6262        if (ADMIN_MODE == '1') { 
    63             $this->time_start = SC_Utils_Ex::sfMicrotimeFloat(); 
     63            $this->time_start = microtime(true); 
    6464        } 
    6565    } 
     
    9595        $res =  $this->_smarty->fetch($template); 
    9696        if (ADMIN_MODE == '1') { 
    97             $time_end = SC_Utils_Ex::sfMicrotimeFloat(); 
     97            $time_end = microtime(true); 
    9898            $time = $time_end - $this->time_start; 
    9999            $res .= '処理時間: ' . sprintf('%.3f', $time) . '秒'; 
     
    159159        $this->_smarty->display($template); 
    160160        if (ADMIN_MODE == '1') { 
    161             $time_end = SC_Utils_Ex::sfMicrotimeFloat(); 
     161            $time_end = microtime(true); 
    162162            $time = $time_end - $this->time_start; 
    163163            echo '処理時間: ' . sprintf('%.3f', $time) . '秒'; 
Note: See TracChangeset for help on using the changeset viewer.