This bug has been privately reported to me by two users.
I report it here to let to all users to be acquainted
The code of setTpldirCommon() in
is broken: if $tpldir does not contain $this->dirroot,
is not updated.
I will fix this bug in version 3.1.1.
ASAP, I will post here the patch that fixes this bug.
Logged In: YES
Fixed in version 3.1.1, just released.
Version 3.1.1 also provides some improvements
from this point of view, as it is reported in the CHANGELOG:
Fixed a bug in the setTpldirCommon() method.
Changed/extended some parts of code (and updated the examples
accordingly) to allow to change all directory paths using
the setDirroot() method.