MCPcopy Create free account
hub / github.com/apache/httpd / ap_document_root

Function ap_document_root

server/core.c:829–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829AP_DECLARE(const char *) ap_document_root(request_rec *r) /* Don't use this! */
830{
831 core_server_config *sconf;
832 core_request_config *rconf = ap_get_core_module_config(r->request_config);
833 if (rconf->document_root)
834 return rconf->document_root;
835 sconf = ap_get_core_module_config(r->server->module_config);
836 return sconf->ap_document_root;
837}
838
839AP_DECLARE(const char *) ap_context_prefix(request_rec *r)
840{

Callers 11

ssl_var_lookupFunction · 0.85
prefix_statFunction · 0.85
lookup_variableFunction · 0.85
hook_fixupFunction · 0.85
ssl_var_lookupFunction · 0.85
req_document_rootFunction · 0.85
ap_add_common_varsFunction · 0.85
request_var_fnFunction · 0.85
ap_context_document_rootFunction · 0.85
ap_core_translateFunction · 0.85
http_core.hFile · 0.85

Calls 1

Tested by

no test coverage detected