Info *** UebiMiau Mail with 64bit Time/Date Problem

Discussion in 'Tips/Tricks/Mods' started by falko, Nov 27, 2005.

  1. falko

    falko Super Moderator Howtoforge Staff

    (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)

    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.
     
  2. wboerendans

    wboerendans New Member

    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
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Do you use Uebimiau or one of the other webmail packages?
     

Share This Page