Closed (fixed)
Project:
Drupal core
Version:
5.14
Component:
file system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2009 at 21:00 UTC
Updated:
5 Jan 2009 at 20:24 UTC
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