Problems with .htaccess and environments? |
Here is my .htaccess file:
Code: RewriteEngine On And this is what I have in index.php Code: define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'); So Im doing something wrong, because I uploaded the application to www.mysite.ca and it keeps defaulting to development, not production.
Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time. The only people who never tumble are those who never mount the high wire.
|
Messages In This Thread |
Problems with .htaccess and environments? - by lexxtoronto - 04-30-2015, 08:27 AM
RE: Problems with .htaccess and environments? - by mwhitney - 04-30-2015, 09:06 AM
RE: Problems with .htaccess and environments? - by CroNiX - 04-30-2015, 09:41 AM
RE: Problems with .htaccess and environments? - by lexxtoronto - 04-30-2015, 10:03 AM
|