fix file path
							parent
							
								
									93b0ab8dd9
								
							
						
					
					
						commit
						449108dc1f
					
				|  | @ -17,7 +17,7 @@ type fileInfo struct { | |||
| 
 | ||||
| // Execute sth
 | ||||
| func Execute(w http.ResponseWriter, r *http.Request) (int, error) { | ||||
| 	filename := strings.Replace(r.URL.Path, "edit/", "", 1) | ||||
| 	filename := strings.Replace(r.URL.Path, "admin/edit/", "", 1) | ||||
| 
 | ||||
| 	if r.Method == "POST" { | ||||
| 		r.ParseForm() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Henrique Dias
						Henrique Dias