Commit 48c8142f authored by kevinquillen's avatar kevinquillen

Use base_path when referencing the CSS file

parent 2d67e239
......@@ -21,7 +21,7 @@ function codesnippet_ckeditor_css_alter(array &$css, Editor $editor) {
$settings = $editor->getSettings();
if (!empty($settings['plugins']['codesnippet']['highlight_style'])) {
$css[] = '/libraries/codesnippet/lib/highlight/styles/' . $settings['plugins']['codesnippet']['highlight_style'] . '.css';
$css[] = base_path() . 'libraries/codesnippet/lib/highlight/styles/' . $settings['plugins']['codesnippet']['highlight_style'] . '.css';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment