Ximmer
Verified User
Re: Info *** UebiMiau Mail with 64bit Time/Date Problem
On my 64bits CentOS 4.2 system (recent new DA installation) the location of the above files is different./var/www/html/webmail/smarty/plugins
PATH:
/var/www/html/webmail/smarty/plugins
FILE:
shared.make_timestamp.php
The code change is the same as described in the quoted message and it worked
sHuKKo said:Ok If you are using a 64bit system this is what you will need to do in order to make the time and date work on the web interface to Ubeimiau.
Go to this file:
/var/www/html/webmail/smarty/smarty.addons.php
and find the function smarty_make_timestamp($string)
Code:if(empty($string)) { $string = "now"; } [COLOR=red]else if(is_numeric($string)) { return (int)$string; }[/COLOR] $time = strtotime($string); if(is_numeric($time) && $time != -1 return $time;
You need to add in the code in red above into the function and that should make the webmail time and date look right.
On my 64bits CentOS 4.2 system (recent new DA installation) the location of the above files is different./var/www/html/webmail/smarty/plugins
PATH:
/var/www/html/webmail/smarty/plugins
FILE:
shared.make_timestamp.php
The code change is the same as described in the quoted message and it worked