- Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers.

4.7.x
Dries Buytaert 2005-09-13 19:05:34 +00:00
parent 074cafa269
commit db1ef4bd2d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function file_create_url($path) {
case FILE_DOWNLOADS_PUBLIC:
return $GLOBALS['base_url'] .'/'. variable_get('file_directory_path', 'files') .'/'. str_replace('\\', '/', $path);
case FILE_DOWNLOADS_PRIVATE:
return url('system/files', 'file='. $path);
return url('system/files', 'file='. $path, NULL, TRUE);
}
}