[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/includes/ -> application_bottom.php (source)

   1  <?php
   2  /*

   3  $Id: application_bottom.php 3 2006-05-27 04:59:07Z user $

   4  

   5    osCMax Power E-Commerce

   6    http://oscdox.com

   7  

   8    Copyright 2006 osCMax

   9  

  10    Released under the GNU General Public License

  11  */
  12  
  13  // BOF: MOD

  14  if (!tep_session_is_registered('customer_id') && ENABLE_PAGE_CACHE == 'true' && class_exists('page_cache')) {
  15      global $page_cache;
  16      $page_cache->end_page_cache();
  17  }
  18  // EOF: MOD

  19  
  20  // close session (store variables)

  21    tep_session_close();
  22  
  23    if (STORE_PAGE_PARSE_TIME == 'true') {
  24      $time_start = explode(' ', PAGE_PARSE_START_TIME);
  25      $time_end = explode(' ', microtime());
  26      $parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] + $time_start[0])), 3);
  27      error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' - ' . getenv('REQUEST_URI') . ' (' . $parse_time . 's)' . "\n", 3, STORE_PAGE_PARSE_TIME_LOG);
  28  
  29      if (DISPLAY_PAGE_PARSE_TIME == 'true') {
  30        echo '<span class="smallText">Parse Time: ' . $parse_time . 's</span>';
  31      }
  32    }
  33  // LINE ADDED

  34  include (DIR_WS_INCLUDES . 'performance.php');
  35  
  36    if ( (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded == true) && ($ini_zlib_output_compression < 1) ) {
  37      if ( (PHP_VERSION < '4.0.4') && (PHP_VERSION >= '4') ) {
  38        tep_gzip_output(GZIP_LEVEL);
  39      }
  40    }
  41  ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7