Skip to content

Commit 16a9c52

Browse files
Adding back the session handler
1 parent f44f5da commit 16a9c52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

redis.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,10 @@ static void add_class_constants(zend_class_entry *ce, int is_cluster TSRMLS_DC)
537537

538538
zend_declare_class_constant_stringl(ce, "AFTER", 5, "after", 5 TSRMLS_CC);
539539
zend_declare_class_constant_stringl(ce, "BEFORE", 6, "before", 6 TSRMLS_CC);
540+
541+
#ifdef PHP_SESSION
542+
php_session_register_module(&ps_mod_redis);
543+
#endif
540544
}
541545

542546
/**

0 commit comments

Comments
 (0)