Diff of /src/Hive.cpp [07f693] .. [1cff17]  Maximize  Restore

Switch to side-by-side view

--- a/src/Hive.cpp
+++ b/src/Hive.cpp
@@ -120,10 +120,10 @@
   avcodec_init();
   avcodec_register_all();
 
-  Config::init((char*) vm["config"].as<std::string > ().c_str());
 
 
   if (vm.count("server")) {
+    Config::init((char*) vm["config"].as<std::string > ().c_str());
     Config::setProperty("web.docroot", vm["webroot"].as<std::string > ().c_str());
     if(vm.count("web"))
       Config::setProperty("web.port", Decimal(vm["web"].as<int> ()).toString().c_str());

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks