config.default.php
This file contains the default configuration settings.
**** DO NOT ALTER THIS FILE! ****
If you need to change any of the below values, copy them to config.php and change them there.
This file will be overwritten when you upgrade and ensures that any new configuration options are set to a sensible default value.
NOTE (1)
IMPORTANT! If any new fields are added to any of the the field arrays marked with '** SEE NOTE (1)' you should do the following:-
-
If adding as an override for e.g a resource type or usergroup, ensure you add the field to the $data_joins array in config.php so that the columns are updated when resource data is changed by other users or scripts
e.g.
$data_joins[] = 8;
-
Once you have made the change, ensure that you run pages/tools/fix_resource_field_column.php, passing in the relevant field identifier to populate the columns
e.g.
https://yoururl.com/pages/tools/fix_resource_field_column.php?field=8");