Searched refs:env_document_root (Results 1 – 2 of 2) sorted by relevance
1136 …char *env_document_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_C… local1143 if (!env_document_root && PG(doc_root)) {1144 env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);1146 TRANSLATE_SLASHES(env_document_root);1264 if (env_document_root) {1265 int l = strlen(env_document_root);1269 if (l && env_document_root[l - 1] == '/') {1281 memcpy(path_translated, env_document_root, l);
1195 char *env_document_root = CGI_GETENV("DOCUMENT_ROOT"); local1202 if (!env_document_root && PG(doc_root)) {1203 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));1205 TRANSLATE_SLASHES(env_document_root);1298 if (env_document_root) {1299 int l = strlen(env_document_root);1303 if (l && env_document_root[l - 1] == '/') {1315 memcpy(path_translated, env_document_root, l);
Completed in 18 milliseconds