typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

possibility to unset headers in system/Controllers/Controller.php and system/Controllers/ContentController.php #194

Closed haraldj closed 3 years ago

haraldj commented 3 years ago

Dear Sebastian Schürmanns,

I currently set all the headers you set in these PHP-scripts in my webserver config (and a few more) so I quoted them in the PHP-scripts, how do you think about a config option making these headers removable?

Kind regards Harald Jenny

trendschau commented 3 years ago

Yes, that is possible and a good idea. I will add that configuration to the next release. As this configuration is quite on an expert-level, I will add it only to the settings.yaml-file as another option for devs. Maybe I will add an expert-section in the admin-area in future with some other settings for devs like displayErrorDetails and more...

haraldj commented 3 years ago

Sounds like a good idea I guess normal users won't need this kind of deep control over Typemill.

trendschau commented 3 years ago

postponed to version 1.4.2

haraldj commented 3 years ago

Thanks for the information.

trendschau commented 3 years ago

published with 1.4.2, please reopen if you find any problems

haraldj commented 3 years ago

Will do but it seems everything works, thanks.