I wrote a module for ejabberd
, in the module i checked existence of an image file. i used filelib:is_file()
for that purpose.
when existence of image file checked in ejabberd
module it always return false
, but when i compile and run by erl
program, it returns true
.