Home
last modified time | relevance | path

Searched refs:env_document_root (Results 1 – 2 of 2) sorted by relevance

/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_main.c1132 …char *env_document_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_C… local
1139 if (!env_document_root && PG(doc_root)) {
1140 env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);
1142 TRANSLATE_SLASHES(env_document_root);
1249 if (env_document_root) {
1250 int l = strlen(env_document_root);
1254 if (l && env_document_root[l - 1] == '/') {
1266 memcpy(path_translated, env_document_root, l);
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c1193 char *env_document_root = CGI_GETENV("DOCUMENT_ROOT"); local
1200 if (!env_document_root && PG(doc_root)) {
1201 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));
1203 TRANSLATE_SLASHES(env_document_root);
1296 if (env_document_root) {
1297 int l = strlen(env_document_root);
1301 if (l && env_document_root[l - 1] == '/') {
1313 memcpy(path_translated, env_document_root, l);

Completed in 14 milliseconds