Removed faulty basepath default setting.

This commit is contained in:
Thulinma 2014-06-23 21:49:28 +02:00
parent 2b69f40405
commit 5a6e793f78

View file

@ -263,9 +263,6 @@ void createAccount (std::string account){
Controller::Storage["account"][uname]["password"] = Secure::md5(pword); Controller::Storage["account"][uname]["password"] = Secure::md5(pword);
} }
} }
if ( !Controller::Storage["config"].isMember("basePath")){
Controller::Storage["config"]["basePath"] = Util::getMyPath();
}
} }
///\brief The main entry point for the controller. ///\brief The main entry point for the controller.