Lines Matching refs:doc_root
624 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int do… in php_cgi_ini_activate_user_config() argument
660 s1 = (char *) doc_root; in php_cgi_ini_activate_user_config()
665 s2 = (char *) doc_root; in php_cgi_ini_activate_user_config()
696 char *path, *doc_root, *server_name; in sapi_cgi_activate() local
740 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); in sapi_cgi_activate()
742 if (doc_root) { in sapi_cgi_activate()
743 doc_root_len = strlen(doc_root); in sapi_cgi_activate()
744 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) { in sapi_cgi_activate()
748 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len); in sapi_cgi_activate()
1074 if (!env_document_root && PG(doc_root)) { in init_request_info()
1075 env_document_root = FCGI_PUTENV(request, "DOCUMENT_ROOT", PG(doc_root)); in init_request_info()