zts build fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@113 c26eb9a1-5813-0410-bd6c-c2e55f420ca71.1
parent
745a9ed1b2
commit
d8f3df8ff6
2
xcache.c
2
xcache.c
|
@ -1210,7 +1210,7 @@ static int xcache_admin_auth_check(TSRMLS_D) /* {{{ */
|
|||
}
|
||||
|
||||
#ifdef ZEND_ENGINE_2_1
|
||||
zend_is_auto_global("_SERVER", sizeof("_SERVER") - 1);
|
||||
zend_is_auto_global("_SERVER", sizeof("_SERVER") - 1 TSRMLS_CC);
|
||||
#endif
|
||||
if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **) &server) != SUCCESS || Z_TYPE_PP(server) != IS_ARRAY) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_ERROR, "_SERVER is corrupted");
|
||||
|
|
Loading…
Reference in New Issue