Searched refs:doc_root_len (Results 1 - 2 of 2) sorted by relevance

/PHP_5_5/sapi/cgi/
H A Dcgi_main.c751 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int doc_root_len, int start TSRMLS_DC) argument
787 if (path_len > doc_root_len) {
790 s_len = doc_root_len;
831 uint path_len, doc_root_len, server_name_len; local
889 doc_root_len = strlen(doc_root);
890 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
891 --doc_root_len;
895 doc_root = estrndup(doc_root, doc_root_len);
896 zend_str_tolower(doc_root, doc_root_len);
[all...]
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c691 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int doc_root_len, int start TSRMLS_DC) argument
727 if (path_len > doc_root_len) {
730 s_len = doc_root_len;
768 uint path_len, doc_root_len, server_name_len; local
814 doc_root_len = strlen(doc_root);
815 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
816 --doc_root_len;
820 doc_root = estrndup(doc_root, doc_root_len);
821 zend_str_tolower(doc_root, doc_root_len);
[all...]

Completed in 6 milliseconds