Get path of the configuration file where a param

cacaculo
Member | 1
+
0
-

Hello :)

I see it was asked 4 years ago but no response. Is there a way to accomplish this?
I need the user to be able to define paths relative to their config files (which are included later in other config files)

https://forum.nette.org/…-config-neon

Rick Strafy
Nette Blogger | 52
+
0
-

You can use %appDir% or %vendorDir%

Some exmaples:

includes:
	- %appDir%/../config/doctrine.neon
	- %vendorDir%/my/package/config/doctrine.neon