| 827 | } |
| 828 | |
| 829 | AP_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 | |
| 839 | AP_DECLARE(const char *) ap_context_prefix(request_rec *r) |
| 840 | { |
no test coverage detected