Fork de wikipp, le moteur de wiki en c++, basé sur cppcms. Le fork ajoute la langue française
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.cpp 413B

12345678910111213141516171819
  1. #include <cppcms/service.h>
  2. #include <cppcms/applications_pool.h>
  3. #include <booster/log.h>
  4. #include "wiki.h"
  5. int main(int argc,char **argv)
  6. {
  7. try {
  8. cppcms::service app(argc,argv);
  9. app.applications_pool().mount(cppcms::applications_factory<apps::wiki>());
  10. app.run();
  11. }
  12. catch(std::exception const &e) {
  13. BOOSTER_ERROR("wikipp") << e.what() ;
  14. std::cerr<<e.what()<<std::endl;
  15. return 1;
  16. }
  17. return 0;
  18. }