Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Nokia390 on June 16, 2010, 04:41:06 PM

Title: GLPI settting Time [Solved]
Post by: Nokia390 on June 16, 2010, 04:41:06 PM
Hello
How i can set GLPI hour.
I have the sme hour, but glpi is one hour advanced


Thanks
(sorry my english)
Title: Re: GLPI settting Time
Post by: CharlieBrady on June 16, 2010, 06:24:56 PM
How i can set GLPI hour.
I have the sme hour, but glpi is one hour advanced

What is GLPI?
Title: Re: GLPI settting Time
Post by: Nokia390 on June 16, 2010, 08:13:44 PM
OCS inventory and GLPI
Title: Re: GLPI settting Time
Post by: CharlieBrady on June 16, 2010, 08:23:23 PM
Do you mean:

http://glpi-project.org/

?

I think you should ask on their website how to configure the timezone in their software.

Or just ask google - "GPLI timezone".
Title: Re: GLPI settting Time
Post by: Nokia390 on June 16, 2010, 09:02:23 PM
Thanks
Title: Re: GLPI settting Time
Post by: Nokia390 on June 17, 2010, 12:10:23 PM
Solved

In the file glpi/Inc/include.php, add in first line the following line: putenv (“TZ=Europe/Lisbon”)
Title: Re: GLPI settting Time [Solved]
Post by: Nokia390 on June 23, 2010, 08:57:17 PM
or

in /etc/php5/php.ini

put:
date.timezone = Europe/Lisbon

then:
/etc/init.d/httpd-e-smith restart