Php date()

From Elch-Wiki
Revision as of 09:21, 3 February 2012 by Roman (talk | contribs) (Created page with "Fehlermeldung: <pre>It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.</p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Fehlermeldung:

It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Die Meldung wird in ext/date/php_date.c "DATE_TZ_ERRMSG" erzeugt. Überall wo DATE_TZ_ERRMSG verwendet wird (Zeilen 889, 911, 923, 939 bei PHP 5.3.10), die Ausgabe auskommentieren.