1

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.

Saeed
  • 572
  • 2
  • 7
  • 19
  • 3
    Are the two Erlang VMs using different working directories, perhaps? You can check by calling `file:get_cwd()`. – legoscia Nov 15 '17 at 12:23

0 Answers0