2amigos / yiiwheels

Widget extension library for the YiiStrap extension
http://yiiwheels.2amigos.us
Other
133 stars 77 forks source link

WHRedactor.php not registering plugins - bad path #85

Closed semir-karic closed 10 years ago

semir-karic commented 10 years ago

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)) {

tonydspaniard commented 10 years ago

This has been fixed by #103