return url('system/files/'. $path, array('absolute' => TRUE));
edvanleeuwen - January 4, 2009 - 21:00
| Project: | Drupal |
| Version: | 5.14 |
| Component: | file system |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
In file_create_url() the last line states:
return url('system/files/'. $path, array('absolute' => TRUE));
Could anyone explain why the function should include the 'system/' part?
Thanks in advance.

#1
See system.module line 198
The url needs that part so the right menu callback is triggered. This is part of the private download method .
Does that answer your question?
- Arie
#2
Hi Arie,
Thanks for your reply. I guess this answers my question.
Best regards, Ed