Lines Matching refs:doc_root
780 static void php_cgi_ini_activate_user_config(char *path, size_t path_len, const char *doc_root, siz… argument
815 s1 = (char *) doc_root;
820 s2 = (char *) doc_root;
913 char *doc_root; local
918 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
920 doc_root = getenv("DOCUMENT_ROOT");
923 if (doc_root) {
924 size_t doc_root_len = strlen(doc_root);
925 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
930 doc_root = estrndup(doc_root, doc_root_len);
931 zend_str_tolower(doc_root, doc_root_len);
933 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len);
936 efree(doc_root);
1225 if (!env_document_root && PG(doc_root)) {
1226 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));