-
Good morning all, I need to use in my delegate script a path prefix which depends on the server deployment environment. The storage directories for our images cannot be mapped the same way on the development server and on the production server. What is the best way to make this prefix configurable and avoid having to modify the script itself during deployment? I'm thinking of a specific config file, but I can't figure out the way to access it from the delegate script. Do you have any advice ? Thanks for your attention ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
If the config file is in a consistent location relative to your delegate script, you can just open the config file and read it from your ruby (or java) code. Would that work for you? |
Beta Was this translation helpful? Give feedback.
If the config file is in a consistent location relative to your delegate script, you can just open the config file and read it from your ruby (or java) code. Would that work for you?