The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Default timezone on Horde

Discussion in 'E-mail Discussions' started by vgv, Apr 11, 2014.

  1. vgv

    vgv Registered

    Joined:
    Mar 16, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    With the update to Horde Groupware 5.1, the default timezone has been lost and so Horde uses UTC. According to the developers the timezone is set like that:

    I tried to export the TZ enviroment variable using a .bashrc file on /var/cpanel/userhomes/cpanelhorde, but it didn't worked as cpanelhorde uses /usr/local/cpanel/bin/noshell as shell.

    The timezone on /usr/local/cpanel/3rdparty/php/54/etc/horde/php.ini is not set. I changed it to my timezone and worked, but it will be overwritten by cpanel update.

    Is there any form of making it permanent and ensuring it will not be overwritten by an update?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could setup a hook that runs after cPanel updates to ensure the date.timezone setting is applied to the php.ini file. This would be similar to the method described here:

    Postupcp for Roundcube

    Thank you.
     
Loading...

Share This Page