Changeset 614
- Timestamp:
- Jun 7, 2010, 9:23:22 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/class/config_from_xoops.class.php
r583 r614 43 43 var $module_id; 44 44 var $module_config= array(); 45 var $xoops_time_zone; 45 46 46 47 function __constructor() //for PHP5 … … 97 98 $this->set_module_version(); 98 99 $this->set_wp_version(); 100 if (function_exists('date_default_timezone_get')){ 101 $this->xoops_time_zone = date_default_timezone_get(); 102 } 99 103 } 100 104 -
trunk/xpressme_integration_kit/class/xpressD3commentContent.class.php
r596 r614 44 44 function displayCommentsInline( $params ) 45 45 { 46 global $xoops_config; 46 47 $new_params = $this->restructParams( $params ) ; 47 48 if (!$this->canAddComment($params['id']) ) { … … 56 57 echo $d3comment; 57 58 } else { 59 if ( function_exists('date_default_timezone_set') ) 60 date_default_timezone_set($xoops_config->xoops_time_zone); 58 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'); 59 64 } 60 65 }
Note: See TracChangeset
for help on using the changeset viewer.