Menu

#3 setTpldir() is broken in PHPLM 3.1.0

closed
nobody
None
5
2003-11-15
2003-10-31
No

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

Discussion

  • Marco Pratesi

    Marco Pratesi - 2003-11-15

    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

     
  • Marco Pratesi

    Marco Pratesi - 2003-11-15
    • status: open --> closed
     

Log in to post a comment.