Home
last modified time | relevance | path

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

/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_main.c1130 char *env_document_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); local
1137 if (!env_document_root && PG(doc_root)) {
1138 env_document_root = FCGI_PUTENV(request, "DOCUMENT_ROOT", PG(doc_root));
1140 TRANSLATE_SLASHES(env_document_root);
1258 if (env_document_root) {
1259 int l = strlen(env_document_root);
1263 if (l && env_document_root[l - 1] == '/') {
1275 memcpy(path_translated, env_document_root, l);
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c1175 char *env_document_root = CGI_GETENV("DOCUMENT_ROOT"); local
1182 if (!env_document_root && PG(doc_root)) {
1183 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));
1185 TRANSLATE_SLASHES(env_document_root);
1278 if (env_document_root) {
1279 size_t l = strlen(env_document_root);
1283 if (l && env_document_root[l - 1] == '/') {
1295 memcpy(path_translated, env_document_root, l);

Completed in 32 milliseconds