DotKernel PSR-7 Middleware Applications

Work with environments

This post refers to DotKernel 1, based on Zend Framework 1.
If you are looking for DotKernel 3 related posts, go here.

In DotKernel we use the following environments: development, staging and production. The active environment is set in the root .htaccess file:

SetEnv APPLICATION_ENV development
#SetEnv APPLICATION_ENV production

Depending on the chosen environment, the specific settings will be read from application.ini .

As you may have noticed from the application.ini file, your local computer is set as your development environment.

The staging environment is where our demo application is

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>