> How do I get the current directory? That is if my component is > /home/public_html/some/dir/comp.html, how do I know > /home/public_html/some/dir/? > > Thanks for refreshing my memory... > > Ryan
Call the source_dir() method on the component object. You can get the component object for the request using $m->request_comp() See the documentation for further details: - http://www.masonhq.com/docs/manual/Component.html - http://www.masonhq.com/docs/manual/Request.html Hope that helps. Bradley C Bailey _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

