refactor: fix build for previous code clean up
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1131 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
0681d0f52d
commit
22bd66f2d3
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…
Reference in New Issue