There was an issue when the code contains deep dependencies file1 includes file2 includes file3 etc. When the code uses __FILE__ or __DIR__, these constants must contain the current paths of the current directory or file. A simplest but workable solution is to replace __FILE__ and __DIR__ before eval-stage.
There was an issue when the code contains deep dependencies file1 includes file2 includes file3 etc. When the code uses
__FILE__
or__DIR__
, these constants must contain the current paths of the current directory or file. A simplest but workable solution is to replace__FILE__
and__DIR__
before eval-stage.