Page 1 of 1

serendipity_plugin_category_dhtml_menu.php

Posted: Mon Oct 31, 2005 8:35 am
by JWalker
serendipity_plugin_category_dhtml_menu.php version v1.10

The line 107 contains

Code: Select all

        if (@include_once('HTML/TreeMenu.php') || @include_once('HTML_TreeMenu/TreeMenu.php')) {
This if expression does not evaluate to true and its else part executes. When I removed the left part of || operator it evaluated to true and categories tree appeared. TreeMenu.php is in HTML_TreeMenu in my installation.
Now I use this construction

Code: Select all

if (@include_once('HTML_TreeMenu/TreeMenu.php')) {
and it works.

Regards,
Ivan

Re: serendipity_plugin_category_dhtml_menu.php

Posted: Mon Oct 31, 2005 1:32 pm
by garvinhicking
Thanks for that pointer! Just committed an update!

Regards,
Garvin