HuasoFoundries/phpPgAdmin6

Lost the ability to run in a subdirectory

Closed this issue · 8 comments

Liking what you're doing with phppgadmin, considering how dead upstream is

However, it appears that in your changes you've made it so that you can no longer use phppgadmin in a subdirectory, e.g. example.com/phppgadmin . This appears to be because of hardcoded / at the beginning of all filepaths.

Would be excellent if you could restore this ability :)

I could try. However, keeping static assets linked relatively to current url won't be trivial once you right click somewhere on the tree and display a section on its own as opposed to displaying it in a frameset.

Yes, restoring this functionality would be crucial - thanks! =)

I'm working on this

@jangrewe @LordAro

This should have been settled with the merge of #40
I'll release this as Release beta 17

I'm running e012bbe, but i still only get two panes with 404 =(

ah, nevermind! Fixing the Nginx config solved it. Thanks!

@jangrewe
Yeah, nginx config is mandatory. Remember that you could be running, for example, wordpress on the domain root, and phpPgAdmin6 on a subfolder. Each of them have different rewrite rules.