minor fixes
This commit is contained in:
		
							parent
							
								
									5e3c918245
								
							
						
					
					
						commit
						d69d339254
					
				| @ -1,6 +1,6 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!DOCTYPE QtCreatorProject> | <!DOCTYPE QtCreatorProject> | ||||||
| <!-- Written by QtCreator 4.8.2, 2020-06-03T22:37:50. --> | <!-- Written by QtCreator 4.8.2, 2020-06-13T19:36:57. --> | ||||||
| <qtcreator> | <qtcreator> | ||||||
|  <data> |  <data> | ||||||
|   <variable>EnvironmentId</variable> |   <variable>EnvironmentId</variable> | ||||||
|  | |||||||
| @ -1,6 +1,8 @@ | |||||||
| #include "session_manager.h" | #include "session_manager.h" | ||||||
| #include "read_uses.h" | #include "read_uses.h" | ||||||
| 
 | 
 | ||||||
|  | #include "iostream" | ||||||
|  | 
 | ||||||
| session_manager::session_manager(conexion* con) | session_manager::session_manager(conexion* con) | ||||||
| { | { | ||||||
|   this->con=con; |   this->con=con; | ||||||
| @ -22,6 +24,7 @@ bool session_manager::admin(){ | |||||||
|   std::string env; |   std::string env; | ||||||
|   if(this->con->get_conf()->get_param("env", env)){ |   if(this->con->get_conf()->get_param("env", env)){ | ||||||
|       this->con->write_string(env); |       this->con->write_string(env); | ||||||
|  |       std::cout << env << std::endl; | ||||||
|     }else{ |     }else{ | ||||||
|       this->con->write_string("no"); |       this->con->write_string("no"); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user