PDA

View Full Version : Info *** UebiMiau Mail with 64bit Time/Date Problem


falko
27th November 2005, 17:01
(Thanks to mphayesuk for this tip!:) )

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:

home/admispconfig/ispconfig/web/webmail/smarty/smarty.addons.php

and find the function smarty_make_timestamp($string)

if(empty($string)) {
$string = "now";
} else if(is_numeric($string)) {
return (int)$string;
}
$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.

wboerendans
28th September 2006, 15:55
We have the same problem... the time is 2 hours later. But we haven't a 64 bits system...but a 32 bit system.

I look to the file....

home/admispconfig/ispconfig/web/webmail/smarty/smarty.addons.php

but this file is not on my system.... Is there another file or solution?

Greetz, Wim

falko
29th September 2006, 15:20
Do you use Uebimiau or one of the other webmail packages?