Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1498
 
1860
 
1860
 
category_tree.php
_> 11 <?php
  22 /*
<> 3 -  $Id: category_tree.php 1498 2007-03-29 14:04:50Z hpdl $
   3+  $Id: category_tree.php 1860 2009-03-06 23:25:01Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2004 osCommerce
   8+  Copyright (c) 2007 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
     
 !
3636         $category_product_count_start_string = '&nbsp;(',
  3737         $category_product_count_end_string = ')';
  3838 
<> 39 -    function osC_CategoryTree($load_from_database = true) {
   39+    function __construct($load_from_database = true) {
4040       global $osC_Database, $osC_Cache, $osC_Language;
  4141 
  4242       if (SERVICES_CATEGORY_PATH_CALCULATE_PRODUCT_COUNT == '1') {
     
 !
6565             $this->calculateCategoryProductCount();
  6666           }
  6767 
<> 68 -          $osC_Cache->writeBuffer($this->data);
   68+          $osC_Cache->write($this->data);
<_ 6969         }
  7070       }
  7171     }