minor fixes
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user