setTpldir() is broken in PHPLM 3.1.0
Brought to you by:
pratesi
This bug has been privately reported to me by two users.
I report it here to let to all users to be acquainted
with it.
The code of setTpldirCommon() in
lib/layersmenu-common.inc.php
is broken: if $tpldir does not contain $this->dirroot,
$this->tpldir
is not updated.
I will fix this bug in version 3.1.1.
ASAP, I will post here the patch that fixes this bug.
Marco Pratesi
Logged In: YES
user_id=65709
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
only
the setDirroot() method.
Marco Pratesi