diff --git a/core/AmConfig.cpp b/core/AmConfig.cpp index 2678bfc5..f01915fe 100644 --- a/core/AmConfig.cpp +++ b/core/AmConfig.cpp @@ -155,6 +155,8 @@ int AmConfig::readConfiguration() // plugin_config_path ModConfigPath = cfg.getParameter("plugin_config_path",ModConfigPath); + if(!ModConfigPath.empty() && (ModConfigPath[ModConfigPath.length()-1] != '/')) + ModConfigPath += '/'; // smtp_server SmtpServerAddress = cfg.getParameter("smtp_server",SmtpServerAddress);