[Kde-pim] Broken Links

Tom Albers tomalbers at kde.nl
Mon Feb 26 22:56:45 GMT 2007


Op ma 26 feb 2007 17:40 schreef u:
> When I wan't to see the screenshots, I click on 
> http://pim.kde.org/components/..img/screenshots/kaddressbook.png which is not 
> existing.. the link should be 
> http://pim.kde.org/img/screenshots/kaddressbook.png (which is working).

It seems /media/includes/functions.inc does its best to prevent a slash at the end of site_root:

  // if no site_root, prefix at least with ., else, remove the trailing /
  if ($site_root == "")
    $site_root = ".";
  else    
    $site_root = substr ($site_root, 0, strlen($site_root) - 1);

that way the site_root in above file is incorrect. Easiest fix is attached. Feel free to ignore it...

gr.

Toma



-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_a_slash.diff
Type: text/x-diff
Size: 1926 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070226/e43fc91e/attachment.diff>
-------------- next part --------------
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


More information about the kde-pim mailing list