This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
pwtan14262
Hi All,
I would like to know how can i get the current directory in October CMS? Currently i'm using something like /plugin/pwtan/test/controller/ Which is not what i would like. Thanks in advance.
Sebastiaan Kloos (ICTBelang)
I would point you to this page:
http://octobercms.com/docs/services/helpers
You could use the plugins_path() function to point to the plugin folder. If you want a shorter code, you can write a function yourself.
pwtan14262
Thanks sebastiaankloos18801 for pointing me to the right direction. Appreciate your help.
1-3 of 3