From: SourceForge.net <no...@so...> - 2012-03-25 16:35:08
|
Bugs item #3494894, was opened at 2012-02-26 22:05 Message generated for change (Settings changed) made by mageg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430840&aid=3494894&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core - Core Group: XOOPS 2.5.x Status: Open Resolution: None Priority: 9 Private: No Submitted By: Michael Beck (beckmi) >Assigned to: Mage Grégory (mageg) Summary: Calendar shows 40 days Initial Comment: http://xoops.org/modules/newbb/viewtopic.php?post_id=344404#forumpost344404 When I add an event in extcal the number of date will continue up to 40! ---------------------------------------------------------------------- Comment By: Xavier Soler (arion92fr) Date: 2012-03-14 13:05 Message: first of all in /include/common.php line +/- 132 ** * Merge file and db configs. */ if (file_exists($file = $GLOBALS['xoops']->path('var/configs/xoopsconfig.php'))) { $fileConfigs = include $file; $xoopsConfig = array_merge($xoopsConfig, (array) $fileConfigs); unset($fileConfigs, $file); } else { trigger_error('File Path Error: ' . 'var/configs/xoopsconfig.php' . ' does not exist.'); } // ADD THIS $xoops_server_timezone="Etc/GMT"; if ($xoopsConfig["server_TZ"]>0) { $xoops_server_timezone .="+".$xoopsConfig["server_TZ"]; } else{ $xoops_server_timezone .=$xoopsConfig["server_TZ"]; } date_default_timezone_set($xoops_server_timezone); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430840&aid=3494894&group_id=41586 |