| 
														
															@@ -12,7 +12,7 @@ import ( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	"strings" 
														 | 
														
														 | 
														
															 	"strings" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	"time" 
														 | 
														
														 | 
														
															 	"time" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	//"golang-fave/constants" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	"golang-fave/constants" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	"golang-fave/engine/actions" 
														 | 
														
														 | 
														
															 	"golang-fave/engine/actions" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	"golang-fave/engine/wrapper" 
														 | 
														
														 | 
														
															 	"golang-fave/engine/wrapper" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 ) 
														 | 
														
														 | 
														
															 ) 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -112,10 +112,9 @@ func handler(w http.ResponseWriter, r *http.Request) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	r.URL.Scheme = "http" 
														 | 
														
														 | 
														
															 	r.URL.Scheme = "http" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	// Set server name 
														 | 
														
														 | 
														
															 	// Set server name 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	w.Header().Set("Server", "fave.pro") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	w.Header().Set("Server", "fave.pro/"+constants.ServerVersion) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	// Create and start engine 
														 | 
														
														 | 
														
															 	// Create and start engine 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	//wrapper.New(&w, r, host, port, ParamWwwDir, VhostHomeDir, C_Debug). 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	wrapper.New(&w, r, host, port, ParamWwwDir, VhostHomeDir). 
														 | 
														
														 | 
														
															 	wrapper.New(&w, r, host, port, ParamWwwDir, VhostHomeDir). 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		Run(func(wrapper *wrapper.Wrapper) bool { 
														 | 
														
														 | 
														
															 		Run(func(wrapper *wrapper.Wrapper) bool { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			// Actions 
														 | 
														
														 | 
														
															 			// Actions 
														 |