Work with environments
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 staging #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 http://v1.dotkernel.net.