Skip to content

Commit 4272c56

Browse files
Aris Buzachisarisro
Aris Buzachis
authored andcommitted
fix: 0 max_execution_time ini value
It seems that zend_ini_long doesn't work anymore with ZEND_STRS and that the extesion should use ZEND_STRL, back again.
1 parent b15936c commit 4272c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_memcached_session.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ time_t s_lock_expiration()
113113
return s_adjust_expiration(MEMC_SESS_INI(lock_expiration));
114114
}
115115
else {
116-
zend_long max_execution_time = zend_ini_long(ZEND_STRS("max_execution_time"), 0);
116+
zend_long max_execution_time = zend_ini_long(ZEND_STRL("max_execution_time"), 0);
117117
if (max_execution_time > 0) {
118118
return s_adjust_expiration(max_execution_time);
119119
}

0 commit comments

Comments
 (0)