We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b46c57 commit d3224b8Copy full SHA for d3224b8
colorbox.module
@@ -207,9 +207,8 @@ function _colorbox_doheader() {
207
}
208
209
// Determine URL path to public files.
210
- $js_settings['file_public_path'] = base_path() .
211
- variable_get('file_public_path', conf_path() . '/files');
212
-
+ $file_public_path = config_get('system.core', 'file_public_path');
+ $js_settings['file_public_path'] = base_path() . $file_public_path;
213
$js_settings['specificPagesDefaultValue'] = "admin*\nimagebrowser*\nimg_assist*\nimce*\nnode/add/*\nnode/*/edit\nprint/*\nprintpdf/*\nsystem/ajax\nsystem/ajax/*";
214
215
$path = backdrop_get_path('module', 'colorbox');
0 commit comments