- Timestamp:
- Jun 8, 2010, 9:37:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php
r614 r616 45 45 { 46 46 global $xoops_config; 47 if ( function_exists('date_default_timezone_set') ) 48 date_default_timezone_set($xoops_config->xoops_time_zone); 47 49 $new_params = $this->restructParams( $params ) ; 48 50 if (!$this->canAddComment($params['id']) ) { … … 57 59 echo $d3comment; 58 60 } else { 59 if ( function_exists('date_default_timezone_set') )60 date_default_timezone_set($xoops_config->xoops_time_zone);61 61 d3forum_render_comments( $this->d3forum_dirname , $new_params['forum_id'] , $new_params , $this->smarty ) ; 62 if ( function_exists('date_default_timezone_set') )63 date_default_timezone_set('UTC');64 }62 } 63 if ( function_exists('date_default_timezone_set') ) 64 date_default_timezone_set('UTC'); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.