1
0
Fork 0

revert [111], they've fixed it

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@151 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 17 years ago
parent 7d5390168d
commit fc10218205

@ -1279,23 +1279,6 @@ static void xc_request_init(TSRMLS_D) /* {{{ */
#ifdef HAVE_XCACHE_COVERAGER
xc_coverager_request_init(TSRMLS_C);
#endif
#if defined(SUHOSIN_PATCH) && SUHOSIN_PATCH && defined(ZEND_ENGINE_2)
{
static zend_bool suhosin_trick_done = 0;
if (!suhosin_trick_done) {
zend_class_entry *tmpclass = emalloc(sizeof(zend_class_entry));
suhosin_trick_done = 1;
tmpclass->type = ZEND_USER_CLASS;
tmpclass->name = emalloc(5);
tmpclass->name_length = 4;
memcpy(tmpclass->name, "test", tmpclass->name_length);
zend_initialize_class_data(tmpclass, 1 TSRMLS_CC);
destroy_zend_class(&tmpclass);
}
}
#endif
}
/* }}} */
static void xc_request_shutdown(TSRMLS_D) /* {{{ */

Loading…
Cancel
Save