Home
last modified time | relevance | path

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

/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_main.c1167 …char *env_document_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_C… local
1174 if (!env_document_root && PG(doc_root)) {
1175 env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);
1177 TRANSLATE_SLASHES(env_document_root);
1295 if (env_document_root) {
1296 int l = strlen(env_document_root);
1300 if (l && env_document_root[l - 1] == '/') {
1312 memcpy(path_translated, env_document_root, l);
/PHP-5.6/sapi/cgi/
H A Dcgi_main.c1203 char *env_document_root = CGI_GETENV("DOCUMENT_ROOT"); local
1210 if (!env_document_root && PG(doc_root)) {
1211 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));
1213 TRANSLATE_SLASHES(env_document_root);
1306 if (env_document_root) {
1307 int l = strlen(env_document_root);
1311 if (l && env_document_root[l - 1] == '/') {
1323 memcpy(path_translated, env_document_root, l);

Completed in 15 milliseconds