Permalink
Browse files

notes about TOTORO_ENV for deployment

  • Loading branch information...
1 parent a87fe0b commit 52386f7e0f9b2001f39108ab1a6dfe9f7d0a40f5 @juliend2 committed Jan 25, 2012
Showing with 12 additions and 0 deletions.
  1. +3 −0 .htaccess
  2. +9 −0 README.markdown
View
@@ -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>
View
@@ -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
------

0 comments on commit 52386f7

Please sign in to comment.