minor fixes

This commit is contained in:
Guillermo Roche 2020-06-25 13:34:50 +02:00
parent 5e3c918245
commit d69d339254
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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");
} }