Set production mode in Presenter – after authentication

6 years ago

pseudonym
Member | 57
+
0
-

Hi,
is there a way to set production mode for example for signed user with role admin? I am using GettextTranslator for translating my page and I want to enable this feature in production server but only for signed admin user.

thanks in advance for your answers

6 years ago

Jan Tvrdík
Nette guru | 2559
+
0
-

@pseudonym: Production mode = not development mode (no visible debug bar etc.). Why would you want other users to use development mode?

5 years ago

Raito
Member | 7
+
0
-

It might be useful. Imagine, for example, that you are the only admin user (others are just mods, etc.), you are away from your development computer and you need to see the debug on your site as it is running right now. Or, which is more important to me: You want to debug something, that can be sever related only.