Detect and handle circular dependencies.
Currently there is no check for them.
It would only be a problem for autoShow and alwaysShow pages. A circular dependency can exist within regular pages, without these parameters, as the url dictates how far to go.
A simple solution could be to create a circular counter for autoShow / alwaysShow and if the same page has been displayed more than (ex) 3 times then quit.
Detect and handle circular dependencies. Currently there is no check for them.
It would only be a problem for
autoShow
andalwaysShow
pages. A circular dependency can exist within regular pages, without these parameters, as the url dictates how far to go.A simple solution could be to create a circular counter for
autoShow
/alwaysShow
and if the same page has been displayed more than (ex) 3 times then quit.