Drupal 7 API Change notification: file_directory_path() removed
*We try to notify this list when API changes are made in Drupal 7, so contrib and custom developers have a chance to fix their code before they have the pain of figuring out why it's broken.* (issue <http://drupal.org/node/895308>) The function *file_directory_path*() was removed. If your code uses it, you now have a fatal error. The new public:// streamwrapper notation is probably what you want instead. -Randy -- Randy Fay Drupal Module and Site Development randy@randyfay.com +1 970.462.7450
On 09/02/2010 01:43 PM, Randy Fay wrote:
/We try to notify this list when API changes are made in Drupal 7, so contrib and custom developers have a chance to fix their code before they have the pain of figuring out why it's broken./
(issue <http://drupal.org/node/895308>) The function *file_directory_path*() was removed. If your code uses it, you now have a fatal error. The new public:// streamwrapper notation is probably what you want instead.
An example or a link might help here. What's meant by "The new public://streamwrapper notation"?
-Randy
-- Randy Fay Drupal Module and Site Development randy@randyfay.com <mailto:randy@randyfay.com> +1 970.462.7450
Hi http://drupal.org/node/224333#unmanaged_files has some more detail on how public and private are handled. LR On Sat, 2010-09-04 at 22:57 -0700, Rob Thorne wrote:
On 09/02/2010 01:43 PM, Randy Fay wrote:
We try to notify this list when API changes are made in Drupal 7, so contrib and custom developers have a chance to fix their code before they have the pain of figuring out why it's broken.
(issue) The function file_directory_path() was removed. If your code uses it, you now have a fatal error. The new public:// streamwrapper notation is probably what you want instead.
An example or a link might help here. What's meant by "The new public://streamwrapper notation"?
-Randy
-- Randy Fay Drupal Module and Site Development randy@randyfay.com +1 970.462.7450
participants (3)
-
Lee Rowlands -
Randy Fay -
Rob Thorne