Lines Matching refs:path_len
785 static void php_cgi_ini_activate_user_config(char *path, size_t path_len, const char *doc_root, siz… argument
791 if ((entry = zend_hash_str_find_ptr(&CGIG(user_config_cache), path, path_len)) == NULL) {
796 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);
808 if (!IS_ABSOLUTE_PATH(path, path_len)) {
816 path_len = real_path_len;
819 if (path_len > doc_root_len) {
826 s_len = path_len;
896 size_t path_len; local
899 path_len = strlen(SG(request_info).path_translated);
902 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
903 path = emalloc(path_len + 2);
904 memcpy(path, SG(request_info).path_translated, path_len + 1);
905 path_len = zend_dirname(path, path_len);
906 path[path_len++] = DEFAULT_SLASH;
908 path = estrndup(SG(request_info).path_translated, path_len);
909 path_len = zend_dirname(path, path_len);
911 path[path_len] = 0;
914 …php_ini_activate_per_dir_config(path, path_len); /* Note: for global settings sake we check from r…
938 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len);