#14 Template Error: setRoot . is not a directory

open
nobody
None
5
2005-12-12
2005-12-12
Oliver Neumann
No

when moving to a new server with an existing project
including PHP Layers Menu, suddenly the error "Template
Error: setRoot . is not a directory" rised. Though
everything was working as before.

Within lib/PHPLIB.php I found the line causing the
error and replaced

function Template_PHPLIB($root = ".", $unknowns =
"remove", $fallback="")

with

function Template_PHPLIB($root = "./", $unknowns =
"remove", $fallback="")

Please check if this is something that needs to be
fixed in the delivered PHPLIB.php.

Discussion