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

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c769 static void php_cgi_ini_activate_user_config(char *path, size_t path_len, const char *doc_root, size_t doc_root_len, int start) argument
804 if (path_len > doc_root_len) {
807 s_len = doc_root_len;
848 size_t path_len, doc_root_len, server_name_len; local
906 doc_root_len = strlen(doc_root);
907 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
908 --doc_root_len;
912 doc_root = estrndup(doc_root, doc_root_len);
913 zend_str_tolower(doc_root, doc_root_len);
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c684 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int doc_root_len, int start) argument
719 if (path_len > doc_root_len) {
722 s_len = doc_root_len;
760 uint path_len, doc_root_len, server_name_len; local
806 doc_root_len = strlen(doc_root);
807 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
808 --doc_root_len;
812 doc_root = estrndup(doc_root, doc_root_len);
813 zend_str_tolower(doc_root, doc_root_len);
[all...]

Completed in 6 milliseconds