|  | @@ -5689,6 +5689,7 @@ is_put_or_delete_method(const struct mg_connection *conn)
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +#if !defined(NO_FILES)
 | 
											
												
													
														|  |  static int
 |  |  static int
 | 
											
												
													
														|  |  extention_matches_script(
 |  |  extention_matches_script(
 | 
											
												
													
														|  |      struct mg_connection *conn, /* in: request (must be valid) */
 |  |      struct mg_connection *conn, /* in: request (must be valid) */
 | 
											
										
											
												
													
														|  | @@ -5734,7 +5735,6 @@ substitute_index_file(struct mg_connection *conn,
 | 
											
												
													
														|  |                        size_t path_len,
 |  |                        size_t path_len,
 | 
											
												
													
														|  |                        struct mg_file_stat *filestat)
 |  |                        struct mg_file_stat *filestat)
 | 
											
												
													
														|  |  {
 |  |  {
 | 
											
												
													
														|  | -#if !defined(NO_FILES)
 |  | 
 | 
											
												
													
														|  |  	const char *list = conn->ctx->config[INDEX_FILES];
 |  |  	const char *list = conn->ctx->config[INDEX_FILES];
 | 
											
												
													
														|  |  	struct vec filename_vec;
 |  |  	struct vec filename_vec;
 | 
											
												
													
														|  |  	size_t n = strlen(path);
 |  |  	size_t n = strlen(path);
 | 
											
										
											
												
													
														|  | @@ -5773,15 +5773,8 @@ substitute_index_file(struct mg_connection *conn,
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	return found;
 |  |  	return found;
 | 
											
												
													
														|  | -#else
 |  | 
 | 
											
												
													
														|  | -	(void)conn;
 |  | 
 | 
											
												
													
														|  | -	(void)path;
 |  | 
 | 
											
												
													
														|  | -	(void)path_len;
 |  | 
 | 
											
												
													
														|  | -	(void)filestat;
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -	return 0;
 |  | 
 | 
											
												
													
														|  | -#endif
 |  | 
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  static void
 |  |  static void
 |