2

My TYPO3_CONTEXT didn't work well. I tried enabled the development mode in .htaccess as follows:

SetEnv TYPO3_CONTEXT Development

Even after clearing the caches, I still get under Application Context: Production.

Has anyone an idea?

StephenKing
  • 36,187
  • 11
  • 83
  • 112
ToyRobotic
  • 557
  • 10
  • 30

1 Answers1

2

Here is my solution, if mod_env isn't available for you. Put the following snippet in your index.php before call_user_function() ...

if($_SERVER['SERVER_NAME'] == 'example.com') {
   putenv('TYPO3_CONTEXT=Development');
}
ToyRobotic
  • 557
  • 10
  • 30