https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43105 Bug ID: 43105 Summary: Detect home directory / project root Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org Target Milestone: --- Web frameworks like Catalyst and Mojolicious have methods for finding the "home directory" of the application: https://metacpan.org/pod/Catalyst#%24c-%3Esetup_home https://docs.mojolicious.org/Mojolicious#home https://docs.mojolicious.org/Mojo/Home It defaults to using the environmental variable CATALYST_HOME or MOJO_HOME (or it can look for a MYAPP_HOME style environmental variable). If that environmental variable is absent, it can autodetect using the location of the Perl module loading the framework. -- This can be useful for navigating the file system from within the application without having to rely on configuration. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.