Skip to content

Commit 567dc2f

Browse files
committed
PHP_SESSION was renamed to PHP_SESSION_NEW during PHP 7 port, but never changed back
1 parent 2503507 commit 567dc2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ static void add_class_constants(zend_class_entry *ce, int is_cluster TSRMLS_DC)
529529
zend_declare_class_constant_stringl(ce, "AFTER", 5, "after", 5 TSRMLS_CC);
530530
zend_declare_class_constant_stringl(ce, "BEFORE", 6, "before", 6 TSRMLS_CC);
531531

532-
#ifdef PHP_SESSION_NEW
532+
#ifdef PHP_SESSION
533533
php_session_register_module(&ps_mod_redis);
534534
php_session_register_module(&ps_mod_redis_cluster);
535535
#endif

0 commit comments

Comments
 (0)