diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -108,7 +108,7 @@ class Config extends ArrayConfig
      */
     private function getRealPath($filePath)
     {
-        $filePath = realpath($filePath);
+        $filePath = stream_resolve_include_path($filePath);
         if ($filePath && is_readable($filePath)) {
             return $filePath;
         }
use stream_resolve_include_path

to retrieve files with include_path settings