Home
last modified time | relevance | path

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

/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_main.c1058 char *env_document_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); in init_request_info() local
1065 if (!env_document_root && PG(doc_root)) { in init_request_info()
1066 env_document_root = FCGI_PUTENV(request, "DOCUMENT_ROOT", PG(doc_root)); in init_request_info()
1180 if (env_document_root) { in init_request_info()
1181 int l = strlen(env_document_root); in init_request_info()
1185 if (l && env_document_root[l - 1] == '/') { in init_request_info()
1197 memcpy(path_translated, env_document_root, l); in init_request_info()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c1218 char *env_document_root = CGI_GETENV("DOCUMENT_ROOT"); local
1225 if (!env_document_root && PG(doc_root)) {
1226 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));
1228 TRANSLATE_SLASHES(env_document_root);
1321 if (env_document_root) {
1322 size_t l = strlen(env_document_root);
1326 if (l && env_document_root[l - 1] == '/') {
1338 memcpy(path_translated, env_document_root, l);

Completed in 24 milliseconds