How do I configure the require_version_comments functionality?
Permalink
Hi, all.
I saw in the 5.7.5.7 release notes that there is a configuration option concrete.misc.require_version_comments to enable the requiring of version comments. I'd love to implement this feature, but I don't know how/where this can be done.
My forum and documentation/tutorial searches have been fruitless, unfortunately. Does anyone have the solution?
I saw in the 5.7.5.7 release notes that there is a configuration option concrete.misc.require_version_comments to enable the requiring of version comments. I'd love to implement this feature, but I don't know how/where this can be done.
My forum and documentation/tutorial searches have been fruitless, unfortunately. Does anyone have the solution?
To override a default configuration setting, you would create a concrete.php file in application/config, and then add the setting config "key" and value. The keys are the associative array keys.
concrete.misc.require_version_comments
- concrete (concrete.php)
- misc (key)
- require_version_comments (key)
In your application/config folder, open the concrete.php file. If you don't have a file called concrete.php, you will need to create one. Paste the following code into concrete.php.
- the require_version_comments default boolean value is false