[ejabberd] ejabberd_config:get_absolute_path

Joel Reymont joelr1 at gmail.com
Thu Oct 27 22:54:41 MSD 2011


Is there a reason why ejabberd_config:get_absolute_path 
does not just call filename:absname?

The code in get_absolute_path looks a tad convoluted and has a bug where
 
"priv/conf/ejabberd.cfg" 

is expanded to 

"priv/conf/priv/conf/ejabberd.cfg".

something that filename:absname handily avoids.

    Thanks, Joel

---
http://twitter.com/wagerlabs




More information about the ejabberd mailing list