adds trailing slash to module configuration path if missing

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@333 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 20 years ago
parent 7ec8215f16
commit cd9d3580a6

@ -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);

Loading…
Cancel
Save