Changeset 15990 for branches/dev/html
- Timestamp:
- 2007/09/24 12:58:05 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/products/list.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/products/list.php
r13580 r15990 5 5 * http://www.lockon.co.jp/ 6 6 */ 7 7 $start_time = sfGetMicrotime_float(); 8 8 require_once("../require.php"); 9 9 require_once(DATA_PATH . "include/page_layout.inc"); … … 143 143 sfCustomDisplay($objPage); 144 144 145 sfprintr( 'Script Execution Time: ' . round($end_time - $start_time, 5) . ' seconds'); 145 146 //----------------------------------------------------------------------------------------------------------------------------------- 147 // Function to calculate script execution time. 148 function sfGetMicrotime_float () { 149 list ($msec, $sec) = explode(' ', microtime()); 150 $microtime = (float)$msec + (float)$sec; 151 return $microtime; 152 } 153 146 154 /* ¥«¥Æ¥´¥êID¤¬¥ë¡¼¥È¤«¤É¤¦¤«¤ÎȽÄê */ 147 155 function lfIsRootCategory($category_id) {
Note: See TracChangeset
for help on using the changeset viewer.
