https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35716
--- Comment #18 from David Cook <[email protected]> --- (In reply to David Cook from comment #17) > How good would it be if we had something like Catalyst's $c->uri_for()? Then again... we don't really have an application root when we're using Plack... - Perl is proxied from Apache "/cgi-bin/koha" to Starman "/opac" or "/intranet" - Static assets are served by Apache from "/" If we were to use a proper version of $c->uri_for(), we'd need to serve both from the same root. (I do this with other apps that use Catalyst. I serve /app_root/static from Apache and /app_root from Catalyst, and then I can use $c->uri_for() to build all my self-referential URLs, and easily mount the app at whatever path I want.) -- But I guess for a proof-of-concept here we could get away with not having anything in koha-conf.xml We could just add something into Koha/Template/Plugin/Asset.pm. Just need to refactor the "url" function there. We could even refactor it to be automagical if we really wanted to... -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
