[Catalyst] Identifying the home dir

Krzysztof Krzyżaniak eloy at pawnhearts.eu.org
Thu Jul 21 12:14:11 CEST 2005


Johan Lindstrom <johanl at DarSerMan.com> writes:

> Hi all!
>
> A thought regarding identifying the home dir (and hence, the default root 
> dir for templates etc).
>
> &Catalyst::Utils::home looks for the presence of e.g. Build.PL and 
> Makefile.PL to anchor the home dir. Any thoughts on also using the presence 
> of the dir "root" to locate the home dir? Any other markers that could be 
> useful and considered stable?

I don't have root dir for example (I prefer 'htdocs' instead) but always
have 'script' & 'lib' directory.

  eloy
-- 
-------e-l-o-y----------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------

       jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej



More information about the Catalyst mailing list