diff --git a/code/ryzom/server/src/admin_modules/as_module.cpp b/code/ryzom/server/src/admin_modules/as_module.cpp index b5f8c6fd1..30dad668d 100644 --- a/code/ryzom/server/src/admin_modules/as_module.cpp +++ b/code/ryzom/server/src/admin_modules/as_module.cpp @@ -221,6 +221,13 @@ namespace ADMIN fclose(fp); } + string rrddirname = CPath::standardizePath (IService::getInstance()->ConfigFile.getVar("RRDVarPath").asString()); + if (!NLMISC::CFile::isExists(rrddirname)) + { + CFile::createDirectory(rrddirname); + CFile::setRWAccess(rrddirname); + } + return true; }