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

Discussion in 'General' started by mphayesuk, Nov 27, 2005.

  1. mphayesuk

    mphayesuk Member HowtoForge Supporter

    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 we 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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Good to know. Do you mind if I post this in the Tips/Tricks forum?:)
     
  3. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Do with it what you feel best.... move it ect... I was going to post myself but I didnt want to make duplicate posts.....

    Thanks
     

Share This Page