minor fixes
This commit is contained in:
parent
5e3c918245
commit
d69d339254
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!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>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include "session_manager.h"
|
||||
#include "read_uses.h"
|
||||
|
||||
#include "iostream"
|
||||
|
||||
session_manager::session_manager(conexion* con)
|
||||
{
|
||||
this->con=con;
|
||||
@ -22,6 +24,7 @@ bool session_manager::admin(){
|
||||
std::string env;
|
||||
if(this->con->get_conf()->get_param("env", env)){
|
||||
this->con->write_string(env);
|
||||
std::cout << env << std::endl;
|
||||
}else{
|
||||
this->con->write_string("no");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user