Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-682

Link, created from cron always use "localhost" instead of site url

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.1-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      Since "localhost" is set as $_SERVER['HTTP_HOST'] in "tools/cron.php" file, then kApplication::BaseURL will return "http://localhost" instead of actual site url.

      To solve this we need to use "Domain" value from "config.php" file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: