I need to get the path for public:// at runtime. Is there a fx call to resolve it?
Tell me more
×
Drupal Answers is a question and answer site for
Drupal developers and administrators. It's 100% free, no registration required.
|
You can use the following code, to obtain the real path of public://.
|
|||
|
|
|
You can use the file_create_url function.
|
|||
|
|