Browse Source

refactor: fix build for previous code clean up

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1131 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
22bd66f2d3
  1. 2
      xcache.c

2
xcache.c

@ -31,6 +31,7 @@
#include "php.h"
#include "ext/standard/info.h"
#include "ext/standard/php_string.h"
#include "SAPI.h"
/* }}} */
/* {{{ globals */
@ -690,6 +691,7 @@ static PHP_MINIT_FUNCTION(xcache) /* {{{ */
}
if (strcmp(sapi_module.name, "cli") == 0) {
char *env;
if ((env = getenv("XCACHE_TEST")) != NULL) {
xc_test = atoi(env);
}

Loading…
Cancel
Save