Dynamically generate file replacement path

agentrickard - October 13, 2009 - 20:54
Project:Joomla to Drupal
Version:6.x-1.0-alpha3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

The logic in replace_image_link() does not match that in reploace_mos_link().

Those two functions also need a rename. Patch coming

#1

agentrickard - October 13, 2009 - 20:57

Specifically, 'replace_image_link' used a hardcoded path.

AttachmentSize
603690-func.patch 1.7 KB
603690-files.patch 510 bytes

#2

agentrickard - October 13, 2009 - 21:46

Files patch is wrong. Fixed.

AttachmentSize
603690-files.patch 549 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.