Jump to content

Hrnkas

Members
  • Content count

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    Bojan Hrnkas
  1. Hrnkas

    Google XML Sitemap SEO

    I believe I have found a Bug. In sitemap.class.php, Line 270 goes like this: $this->savepath = DIR_FS_CATALOG . (substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''; the condition for "?" operator is "DIR_FS_CATALOG . (substr(DIR_FS_CATALOG, -1) !== '/')" which is always TRUE, so savepath is always "/". This line should be: $this->savepath = DIR_FS_CATALOG . ((substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''); This way the "/" will be appended to the savepath instead of replacing it.
×