Searched refs:env_document_root (Results 1 – 2 of 2) sorted by relevance
1075 char *env_document_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); in init_request_info() local1082 if (!env_document_root && PG(doc_root)) { in init_request_info()1083 env_document_root = FCGI_PUTENV(request, "DOCUMENT_ROOT", PG(doc_root)); in init_request_info()1197 if (env_document_root) { in init_request_info()1198 int l = strlen(env_document_root); in init_request_info()1202 if (l && env_document_root[l - 1] == '/') { in init_request_info()1214 memcpy(path_translated, env_document_root, l); in init_request_info()
1238 char *env_document_root = CGI_GETENV("DOCUMENT_ROOT"); local1245 if (!env_document_root && PG(doc_root)) {1246 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));1248 TRANSLATE_SLASHES(env_document_root);1341 if (env_document_root) {1342 size_t l = strlen(env_document_root);1346 if (l && env_document_root[l - 1] == '/') {1358 memcpy(path_translated, env_document_root, l);
Completed in 22 milliseconds