Skip to content

Commit

Permalink
notes about TOTORO_ENV for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
juliend2 committed Jan 25, 2012
1 parent a87fe0b commit 52386f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .htaccess
Expand Up @@ -12,5 +12,8 @@
# with QSA flag (query string append),
# forces the rewrite engine to append a query string part of the
# substitution string to the existing string, instead of replacing it.

# Uncomment the following line if you're in production:
# SetEnv TOTORO_ENV production
</IfModule>

9 changes: 9 additions & 0 deletions README.markdown
Expand Up @@ -28,6 +28,15 @@ Installation
5. (optional) if you wish to have Disqus comments, first create an account
on disqus.com. Then paste the 'disqus_shortname' in your config.php.

Notes for deployment
--------------------

If you're using TOTORO_ENV in your config.php to detect the current
environment, you might want to set the environment in your .htaccess file, like
this:

SetEnv TOTORO_ENV production

Thanks
------

Expand Down

0 comments on commit 52386f7

Please sign in to comment.