You are not logged in.

1

Monday, January 23rd 2017, 9:57pm

../ in urls?

Hi people!

I try all :

%FIRSTXML% - Path of the first loaded xml file.
%CURRENTXML% - Path of the current loaded main xml file (not the
included one).
%SWFPATH% - Path of the krpano viewer file.
%HTMLPATH% - Path of the html file.
%BASEDIR% - Use the basedir path.

Need reach folder "../plugins/includes.xml" no one this works.

root/pano/pano.xml (main pano xml is here)
root/plugins/includes.xml (include xml is here)





How can make simple "../" work in my url? All erros make only "./" or "." never see work "../" *confused*




tnx

2

Tuesday, January 24th 2017, 11:35am

Hi,

using ../ is no problem, you only need to make sure that the final path will be okay and 'reachable' (! - e.g. accessing a folder below the servers root folder is not possible of course).

When using static url attributes inside a xml, then its relative paths are relative to the xml file itself.

Best regards,
Klaus

3

Tuesday, January 24th 2017, 12:50pm

Ok K tnx.


But that was a problem before, only could include a .xml, if we used placeholders, now this is released again?