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.
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.
Comments
Comment #1
ainigma32 commentedSee 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
Comment #2
edvanleeuwenHi Arie,
Thanks for your reply. I guess this answers my question.
Best regards, Ed