Ticket #363 (closed Bug report: fixed)
Timezone problem fix
| Reported by: | anonymous | Owned by: | drazzib |
|---|---|---|---|
| Priority: | high | Milestone: | WifiDog Auth Server 1.0 |
| Component: | Auth server, Statistics and reporting | Version: | |
| Keywords: | Cc: |
Description
I found the glitch in my timezone problems. It is in the wrong usage of the defined function: the name of the constant has to be put in
--- init_php.php.orig 2007-07-31 18:14:02.000000000 +0200 +++ init_php.php 2007-07-31 18:14:11.000000000 +0200 @@ -130,7 +130,7 @@
{
// Set timezone if PHP version >= 5.1.0 if (str_replace(".", "", phpversion()) >= 510) {
- date_default_timezone_set(defined(DATE_TIMEZONE) ? DATE_TIMEZONE : "Canada/Eastern?"); + date_default_timezone_set(defined('DATE_TIMEZONE') ? DATE_TIMEZONE : "Canada/Eastern?");
}
}
Leandro
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

