Merge branch '2.0-alpha' of github.com:xiongziliang/ZLMediaKit into 2.0-alpha

This commit is contained in:
xiongziliang 2018-02-23 15:37:31 +08:00
commit 3bc6ad4c90

View File

@ -74,6 +74,9 @@ API_EXPORT void API_CALL onAppExit(){
cleaner::Destory();
}
API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){
if(mINI::Instance().find(key) == mINI::Instance().end()){
WarnL << "key:" << key << " not existed!";
}
mINI::Instance()[key] = val;
}
API_EXPORT int API_CALL initHttpServer(unsigned short port){