1
0
Fork 0

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 2012-08-09 03:38:46 +00:00
parent 0681d0f52d
commit 22bd66f2d3
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}