#95 Fix broken links

closed-invalid
nabber00
Other (3)
5
2011-03-19
2010-12-05
Miko Kiiski
No

Hi!

Just installed the 0.7.0 version of Simple PHP Blog to my server, and noticed, that the internal links and redirects did not work. This was because the BASEURL was missing a "/" at the beginning. Am using Lighttpd on the server, so this issue might be caused by it (previously used sphpblog with apache with no issues). Anyway, thought I'd send you a patch that adds a slash to the beginning if it is missing. Hope this is helpful.

Discussion

  • Miko Kiiski
    Miko Kiiski
    2010-12-05

    Patch that adds a "/" to the beginning of BASEURL if it is missing

     
    Attachments
  • nabber00
    nabber00
    2011-03-19

    • labels: 626487 --> Other
    • assigned_to: nobody --> nabber00
    • status: open --> closed-invalid