Fix the data ? SQL> update table set fieldname=replace(fieldname,'src="img/"','src="chocolate_cake/img/");
korcs wrote: > Hi, > > I have a little problem with my webroot. > > I have my whole cake dir structure in a dir called 'cholocate_cake'. > > I am using a database, where the html code of the pages stored. > This code contains some links and images as well. > > All of these links and images are working with relative adresses (f.e. > for images: 'src="img/picture.jpg"', where the picture.jpg is in the > './img/' directory). > > Now I found, that when I copy the content of the old img directory > into the app/webroot/img directory, then the pictures are not > displayed. Only if I change the links to 'src="chocolate_cake/img/ > picture.jpg"'. > > Do you know which is an elegant solution for this? > > Best, > > korcs > > > > -- */Jeremy Pointer/* <mailto:[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
begin:vcard fn:Jeremy Pointer n:Pointer;Jeremy adr:;;Box 499;Krugersdorp;Gauteng;1740;South Africa email;internet:[EMAIL PROTECTED] tel;work:+27 11 665-2445 tel;fax:+27 86 5013109 tel;cell:+27 82 3724769 x-mozilla-html:TRUE version:2.1 end:vcard
