[imc-sf-coders] CVS update of sf-active/sf-active/shared/classes
(category_class.inc)
Bart M
pseudopunk at codecoop.org
Wed Dec 28 00:13:35 PST 2005
Date: Wednesday, December 28, 2005 @ 09:13:35
Author: pseudopunk
Path: /cvsroot/sf-active/sf-active/sf-active/shared/classes
Modified: category_class.inc
small bugfixes to get default sites working
Index: sf-active/sf-active/shared/classes/category_class.inc
diff -u sf-active/sf-active/shared/classes/category_class.inc:1.109 sf-active/sf-active/shared/classes/category_class.inc:1.110
--- sf-active/sf-active/shared/classes/category_class.inc:1.109 Sun Jun 19 17:14:36 2005
+++ sf-active/sf-active/shared/classes/category_class.inc Wed Dec 28 09:13:35 2005
@@ -680,7 +680,7 @@
$i18n = $prod_obj->set_i18n(NULL);
foreach($i18n as $langpath => $lang){
$lang_id = '';
- if(!ereg($GLOBALS['build']['mixed_ext'], $langpath)) $lang_id = Language::get_language_id($lang);
+ if(!@ereg($GLOBALS['build']['mixed_ext'], $langpath)) $lang_id = Language::get_language_id($lang);
$result_html = $this->render_feature_list($category_id, $lang_id);
$this->cache_file($result_html, SF_CACHE_PATH.'/center_column_'.$cat_name.'.'.$langpath.'.html');
}
@@ -954,7 +954,7 @@
* renders for all categories the monthly archives for a given month
*/
function render_month_cache_categories($date){
- Cache::dump(date('Y/m', $date));
+ //Cache::dump(date('Y/m', $date));
$cats = $this->get_feature_assoc_list();
foreach($cats as $key => $value){
$this->check_month_cache($date, $key, true);
More information about the imc-sf-coders
mailing list