How to get path to sites DIR like i have sites/www.example.com i need to obtain this path inside a .tpl file of module, i tried drupal_get_path(‘theme’,’my_theme’) and path_to_theme() but both of them point to the module DIR. any method that i can use to obtain path to my sites/example.com folder ?
Share
Maybe the conf_path() will help you.
The question is, why do you need your sites/[site] directory?
maybe there’s something misguided in your .tpl file. the drupal_get_path() should be sufficient.