Actions
Fehler #369
openfunction expandTreeToDir( node, dir ) constant 'ext_root' passed instead of '' (empty variable)
eXtplorer Version:
2.1.14
Joomla! Version:
none
Description
This issue was initially posted in github. (At that time I did not know this site yet)
https://github.com/soerennb/extplorer/issues/15
On some rare occasions - we don't know why - function chdir passes the constant 'ext_root' for the root directory instead of an empty variable. This constant is then not recognized and chdir does not take place.
A workaround is available by changing line 76 in the file scripts/functions.js.php
original:
if( dirs[0] == '' ) { dirs.shift(); }
modified:
if( dirs[0] == '' || dirs[0] == 'ext_root') { dirs.shift(); }
Hope this helps!
Best regards,
Michael S.
(Team-Infrastructure)
No data to display
Actions