
This behaviour was already raised for "pupload" directory.
But, plupload library is deployed (by default) under the name "plupload".
To make it work, I had to patch like this :
383c383
< foreach (file_scan_directory($d, '/shCore\.js$/', array('nomask' => '/(\.\.?|CVS|src|pupload)$/')) as $filename => $file_info) {
---
> foreach (file_scan_directory($d, '/shCore\.js$/', array('nomask' => '/(\.\.?|CVS|src|pupload|plupload)$/')) as $filename => $file_info) {
Perhaps, a better solution would be to locate the library using another file than "shCore.js" for which we can be sure it belongs (in his name) only to syntaxhighlighter package.
Comment | File | Size | Author |
---|---|---|---|
#6 | flexslider-1589140-6.patch | 838 bytes | k4v |
Comments
Comment #1
nothinghere commentedPatch attached to this post : http://drupal.org/node/1873568#comment-7258018
Comment #2
fizk commentedFixed!
http://drupalcode.org/project/syntaxhighlighter.git/commit/135c302bd8408...
Comment #4
radj commentedIf the flexslider library exists, this error also occurs. Just need to add 'flexslider' in line 397.
Comment #5
radj commentedIf the flexslider library exists, this error also occurs. Just need to add 'flexslider' in line 397.
Comment #6
k4v commentedI have the same issue with flexslider. Heres a quick patch -- smells funny to do it like this...
Comment #7
k4v commentedComment #8
fizk commentedk4v, you're right, we've fixed this the proper way here: #1965178: _syntaxhighlighter_get_lib_location is not robust when other libraries have similar directory structures.