Searched refs:env_document_root (Results 1 - 2 of 2) sorted by relevance

/PHP_5_3/sapi/cgi/
H A Dcgi_main.c1133 char *env_document_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT")-1 TSRMLS_CC); local
1140 if (!env_document_root && PG(doc_root)) {
1141 env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);
1143 TRANSLATE_SLASHES(env_document_root);
1236 if (env_document_root) {
1237 int l = strlen(env_document_root);
1241 if (l && env_document_root[l - 1] == '/') {
1253 memcpy(path_translated, env_document_root, l);
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c1133 char *env_document_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_CC); local
1140 if (!env_document_root && PG(doc_root)) {
1141 env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);
1143 TRANSLATE_SLASHES(env_document_root);
1247 if (env_document_root) {
1248 int l = strlen(env_document_root);
1252 if (l && env_document_root[l - 1] == '/') {
1264 memcpy(path_translated, env_document_root, l);

Completed in 11 milliseconds