Fix path for css file existence check in include_stylesheet()

pull/6040/head
Aleksander Machniak 7 years ago
parent 4cef4169db
commit 1c24c69a3b

@ -614,7 +614,7 @@ class rcube_plugin_api
$rcube = rcube::get_instance();
$path = unslashify($rcube->config->get('assets_dir') ?: RCUBE_INSTALL_PATH);
if (!is_file("$path/$fn")) {
if (!is_file("$path/plugins/$fn")) {
return;
}
}

Loading…
Cancel
Save