2amigos/yiiwheels

WHRedactor.php not registering plugins - bad path

semir-karic opened this issue · 1 comments

I've noticed that WHRedactor.php is not registering assets due to bad path on line 119 in file WHRedactor.php (missing directory separator between plugin path and plugin folder name)

line 119 should be
if (@file_exists($pluginsPath . $ds . $pluginName . $ds . $pluginName . '.' . $type)) }

and not

if (@file_exists($pluginsPath . $pluginName . $ds . $pluginName . '.' . $type)) {

This has been fixed by #103