nette / bootstrap

🅱 The simple way to configure and bootstrap your Nette application.
https://doc.nette.org/bootstrap
Other
663 stars 36 forks source link

Configurator: added rootDir #65

Closed mabar closed 2 years ago

mabar commented 4 years ago

Added root dir and removed most of the magic dirs resolution so it's reliable in cases like running app from external script or from console.

It shouldn't be BC break for most of the users (tested with nette/web-project) and easy to fix for rest

Alternative to #64

dg commented 2 years ago

I'll stick with the current solution because the www app and vendor directories can be different, so if autodetection fails, the user has to set them individually.