Koozali.org: home of the SME Server

GLPI settting Time [Solved]

Offline Nokia390

  • ***
  • 88
  • +0/-0
GLPI settting Time [Solved]
« 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)
« Last Edit: June 17, 2010, 06:36:19 PM by wellsi »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: GLPI settting Time
« Reply #1 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?

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: GLPI settting Time
« Reply #2 on: June 16, 2010, 08:13:44 PM »
OCS inventory and GLPI

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: GLPI settting Time
« Reply #3 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".

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: GLPI settting Time
« Reply #4 on: June 16, 2010, 09:02:23 PM »
Thanks
« Last Edit: June 17, 2010, 12:10:11 PM by Nokia390 »

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: GLPI settting Time
« Reply #5 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”)

Offline Nokia390

  • ***
  • 88
  • +0/-0
Re: GLPI settting Time [Solved]
« Reply #6 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