Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions php_timezonedb.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ extern zend_module_entry timezonedb_module_entry;
#define PHP_TIMEZONEDB_VERSION "2026.1"

PHP_MINIT_FUNCTION(timezonedb);
PHP_MSHUTDOWN_FUNCTION(timezonedb);
PHP_MINFO_FUNCTION(timezonedb);

#endif /* TIMEZONEDB_H */
Expand Down
3 changes: 2 additions & 1 deletion timezonedb.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ zend_module_entry timezonedb_module_entry = {
"timezonedb",
timezonedb_functions,
PHP_MINIT(timezonedb),
NULL,
PHP_MSHUTDOWN(timezonedb),
NULL,
NULL,
PHP_MINFO(timezonedb),
Expand All @@ -102,6 +102,7 @@ PHP_MINIT_FUNCTION(timezonedb)
*/
PHP_MSHUTDOWN_FUNCTION(timezonedb)
{
php_date_set_tzdb((timelib_tzdb *) timelib_builtin_db());
return SUCCESS;
}
/* }}} */
Expand Down
Loading