|
17 | 17 | * |
18 | 18 | * <b>Site-specific configuration:</b> |
19 | 19 | * |
20 | | - * MidCOM will include the file <i>midcom::get()->config->get('midcom_config_basedir') . /midcom.conf</i> which must be a regular |
21 | | - * PHP file. You may populate the global array $midcom_config_site in this file. It should |
| 20 | + * You may populate the global array $midcom_config_site. It should |
22 | 21 | * list all options that apply to all installations (like the Cache backend selection |
23 | 22 | * or the indexer host). |
24 | 23 | * |
|
50 | 49 | * |
51 | 50 | * <b>Authentication configuration</b> |
52 | 51 | * |
53 | | - * - <b>boolean allow_sudo:</b> Set this to true (the default) to allow components to |
| 52 | + * - <b>bool allow_sudo:</b> Set this to true (the default) to allow components to |
54 | 53 | * request super user privileges for certain operations. This is mainly used to allow |
55 | 54 | * anonymous access to the system without having to store a user account everywhere. |
56 | 55 | * - <b>string auth_backend:</b> The authentication backend to use, the "simple" |
57 | 56 | * backend is used as a default. |
58 | | - * - <b>boolean auth_check_client_ip:</b> Control whether to check the client IP address |
| 57 | + * - <b>bool auth_check_client_ip:</b> Control whether to check the client IP address |
59 | 58 | * on each subsequent request when authentication a user. This is enabled by default |
60 | 59 | * as it will make session hijacking much harder. You should not turn it off unless |
61 | 60 | * you have very good reasons to do. |
|
86 | 85 | * In general, you should use this only to change the backend driver. |
87 | 86 | * In all other cases you should leave this option untouched. The defaults are to store all |
88 | 87 | * cache databases into the 'content/' subdirectory of the cache base directory. |
89 | | - * - <b>boolean cache_module_content_uncached:</b> Set this to true if you want the site to run in an uncached |
| 88 | + * - <b>bool cache_module_content_uncached:</b> Set this to true if you want the site to run in an uncached |
90 | 89 | * mode. This is different from cache_disable in that the regular header preprocessing is |
91 | 90 | * done anyway, allowing for browser side caching. Essentially, the computing order is the |
92 | 91 | * same (no_cache for example is considered like usual), but the cache file is not stored. |
|
145 | 144 | * Configuration example: |
146 | 145 | * |
147 | 146 | * <code> |
148 | | - * $GLOBALS['midcom_config_local']['error_actions'] = array |
149 | | - * ( |
150 | | - * 500 => array |
151 | | - * ( |
| 147 | + * $GLOBALS['midcom_config_local']['error_actions'] = [ |
| 148 | + * 500 => [ |
152 | 149 | * 'action' => 'email', |
153 | 150 | * 'email' => 'webmaster@example.net', |
154 | | - * ), |
155 | | - * 404 => array |
156 | | - * ( |
| 151 | + * ], |
| 152 | + * 404 => [ |
157 | 153 | * 'action' => 'log', |
158 | 154 | * 'filename' => '/var/log/broken_links.log', |
159 | | - * ), |
160 | | - * ); |
| 155 | + * ], |
| 156 | + * ]; |
161 | 157 | * </code> |
162 | 158 | * |
163 | 159 | * <b>MidCOM Core configuration</b> |
|
186 | 182 | * |
187 | 183 | * <b>string midcom_services_rcs_bin_dir</b>: the prefix for the rcs utilities (default: /usr/bin) |
188 | 184 | * <b>string midcom_services_rcs_root </b>: the directory where the rcs files get placed. (default: must be set!) |
189 | | - * <b>boolean midcom_services_rcs_enable</b>: if set, midcom will fail hard if the rcs service is not operational. (default: false) |
| 185 | + * <b>bool midcom_services_rcs_enable</b>: if set, midcom will fail hard if the rcs service is not operational. (default: false) |
190 | 186 | * |
191 | 187 | * <b>Style Engine</b> |
192 | 188 | * |
|
210 | 206 | * - <b>string toolbars_object_style_class:</b> defaults to midcom_toolbar object_toolbar |
211 | 207 | * - <b>string toolbars_simple_css_path:</b> this defaults to MIDCOM_STATIC_URL/midcom.services.toolbars/simple.css |
212 | 208 | * and is used to set the css for the toolbars used with onsite editing. |
213 | | - * - <b>boolean toolbars_enable_centralized:</b> defaults to true, whether to enable the centralized, |
| 209 | + * - <b>bool toolbars_enable_centralized:</b> defaults to true, whether to enable the centralized, |
214 | 210 | * javascript-floating MidCOM toolbar that users can display with midcom::get()->toolbars->show(); |
215 | 211 | * |
216 | 212 | * <b>Utility Programs</b> |
|
234 | 230 | * |
235 | 231 | * <b>Visibility settings (NAP and DBA)</b> |
236 | 232 | * |
237 | | - * - <b>boolean show_hidden_objects:</b> This flag indicates whether objects that are |
| 233 | + * - <b>bool show_hidden_objects:</b> This flag indicates whether objects that are |
238 | 234 | * invisible either by explicit hiding or by their scheduling should be shown anyway. |
239 | 235 | * This defaults to true at this time |
240 | | - * - <b>boolean show_unapproved_objects:</b> This flag indicates whether objects should be |
| 236 | + * - <b>bool show_unapproved_objects:</b> This flag indicates whether objects should be |
241 | 237 | * shown even if they are not approved. This defaults to true. |
242 | 238 | * |
243 | 239 | * @package midcom |
|
0 commit comments