2 php.ini files
I have found that:
I have found that:
I want to create a config file for my PHP project, but I’m not sure what the best way to do this is.
I need to store a bunch of configuration information in PHP.
I have been working on a few Node apps, and I’ve been looking for a good pattern of storing deployment-related settings. In the Django world (where I come from), the common practise would be to have a settings.py
file containing the standard settings (timezone, etc), and then a local_settings.py
for deployment specific settings, ie. what database to talk to, what memcache socket, e-mail address for the admins and so on.
in laravel 5 , config/app.php I’ve set the locale to ‘ar’
but while trying to get locale in code via:
config('app.locale');
I’m in a ASP.NET project where I need to give several parameters to the administrator that is going to install the website, like:
My asp.net app has is using a web.config for common configuration. I also have a section that maps some data objects to connection strings, and that section is going to be couple thousand of lines. I want to move that section to another config file “dataMappings.config”, so I don’t bulk up web.config – is there a standard mechanism of accessing that config file?
With NInject (preferably 2.0), what options do we have wrt wiring up our object dependencies in a web application?
In my .net 4 solution, i have two different projects- an web application project and a class library project.
I’m doing research for an article on the ASP.NET Pipeline, but none of the resources I’ve covered so far adequately explain when the machine level, and application level, and possibly even sub-application level, web.config
files are read.