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?

campbell
 
MrKDilkington replied on at Permalink Best Answer Reply
MrKDilkington
Hi campbell,

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.
<?php
return array(
    'misc' => array(
        'require_version_comments' => true,
    )
);

- the require_version_comments default boolean value is false
campbell replied on at Permalink Reply
campbell
Thank you so much. I really appreciate it!