[FLOW3-general] why is default context Development and not Production?
Daniel Felix
d.felix at codeworkz.net
Sun Jul 22 11:13:50 CEST 2012
Hi Simon,
you can set the context via htaccess without ssh access. So you don't need to modify the scripts.
I think the development context is the right default setting.
If a user had misconfigured something, he'll get automatic debug informations. Especially useful for beginners.
If he productive environment is production and the user has no idea how to set the development context or how to setup. He'll just get a plain white page instead of nice debug information. ;-)
Best regards,
Daniel Felix
Am 22.07.2012 um 01:50 schrieb "Simon Schaufelberger (Schaufi)" <simonschaufi at jesus.de>:
> Hello,
> i am wondering why the default context is Development if none is given:
>
> line from Web/index.php:
>
> $context = getenv('FLOW3_CONTEXT') ?: (getenv('REDIRECT_FLOW3_CONTEXT') ?: 'Development');
>
> Shouldn't that be Production by default?
>
> There are cases when you have NO SSH access and no webserver access to the webserver config so you cannot set the context there. The only way to make the default Production is to modify this line.
>
> For me it is better to have Production ready systems by default and not development ones, what do you think about that?
> --
> Regards, Schaufi
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list