[Mason] Having configuration-data in a package with multiple instances of the same app

2019-12-18 Thread e...@coderhacks.com
Hello! I am new to Mason and have a little problem in having the same application (but with different configuration) multiple times on a server in different paths. Think the problem is because of the global scope of packages. I have the configuation data in a package - lets say MyConfig. e.g

Re: [Mason] Having configuration-data in a package with multiple instances of the same app

2019-12-19 Thread e...@coderhacks.com
or altering the core/shared master template as well as which database to connect to. Let's see what you are trying to accomplish and I can try and offer you some more concrete examples. Chris On Wed, Dec 18, 2019 at 5:16 PM e...@coderhacks.com <mailto:e...@coderhacks.com> <mailt

Re: [Mason] Having configuration-data in a package with multiple instances of the same app

2019-12-19 Thread e...@coderhacks.com
#x27;t tested this; perhaps you would need to call your function as MyConfig::getColor($ENV{'DOCUMENT_ROOT'}) instead. Kind regards, Sébastien. e...@coderhacks.com (Thu, 19 Dec 2019): Hello! Thanks for support. Here is the essential of my sample for app1 and app2. I try to put a confi