Browse Source

Fix ZTS build

PHP-5.1
Frank M. Kromann 21 years ago
parent
commit
6833acff23
  1. 2
      ext/date/php_date.c

2
ext/date/php_date.c

@ -252,7 +252,7 @@ static void php_date(INTERNAL_FUNCTION_PARAMETERS, int localtime)
t = timelib_time_ctor();
if (localtime) {
tzi = timelib_parse_tzfile(guess_timezone());
tzi = timelib_parse_tzfile(guess_timezone(TSRMLS_C));
if (! tzi) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot find any timezone setting");
timelib_time_dtor(t);

Loading…
Cancel
Save