[dancer-users] App path

fabioniguel3 at gmail.com fabioniguel3 at gmail.com
Mon Jul 14 15:55:10 BST 2014


I've figure out how to solve it.

i've created app_root: path_to_my_app on development.xml

then i can call it with config->{app_root}


On Mon, Jul 14, 2014 at 3:53 PM, Nick Knutov <mail at knutov.com> wrote:

> use FindBin qw($RealBin);
> say "$RealBin/../";
>
>
> 14.07.2014 20:12, fabioniguel3 at gmail.com пишет:
> > Guys, i need some help.
> >
> > How to get the path to the root folder of dancer?
>
> --
> Best Regards,
> Nick Knutov
> http://knutov.com
> ICQ: 272873706
> Voice: +7-904-84-23-130
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20140714/f216a4d8/attachment.html>


More information about the dancer-users mailing list