When your website is under maintenance mode the environment need to be set as ‘development’.. and whereas when you published the website to access by others (usually visible to public) need to be set as ‘production’.
Technique using .htaccess file
For development: In your .htaccess file of your local computer, set environment variable as..
SetEnv KOHANA_ENV development
For production: In your .htaccess file of your live server, set environment variable as..
SetEnv KOHANA_ENV production
Continue reading “In Kohana 3, Setting up server environment”