- Patch #21924 by walkah: made enclosures use absolute URLs to work around broken RSS parsers.
parent
074cafa269
commit
db1ef4bd2d
|
@ -36,7 +36,7 @@ function file_create_url($path) {
|
||||||
case FILE_DOWNLOADS_PUBLIC:
|
case FILE_DOWNLOADS_PUBLIC:
|
||||||
return $GLOBALS['base_url'] .'/'. variable_get('file_directory_path', 'files') .'/'. str_replace('\\', '/', $path);
|
return $GLOBALS['base_url'] .'/'. variable_get('file_directory_path', 'files') .'/'. str_replace('\\', '/', $path);
|
||||||
case FILE_DOWNLOADS_PRIVATE:
|
case FILE_DOWNLOADS_PRIVATE:
|
||||||
return url('system/files', 'file='. $path);
|
return url('system/files', 'file='. $path, NULL, TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue