2amigos/yiiwheels

WhRedactor plugins path error

Closed this issue · 3 comments

In file WhRedactor.php in line 119 we have:

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

In this case plugins not included, function file_exists return false...

But must be:

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

Thanks @Folklor have time for a PR?

What do you mean by the word "PR"?

Unfortunately, very little free time.

Fixed by #103