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

Incorrectly Detected BASE_PATH in Cron

    XMLWordPrintable

    Details

      Description

      In some cases when we are building URLs from Cron (when Web-server environment is not available) we are getting incorrect URLs as a result.

      We need to move Site_Path variable from ConfigurationValues table to config.php file. So, when we detect that script is not run under web-server (via command line), we SHOULD use this value as BASE_PATH constant.

      Also "Site_Path" will be renamed to WebsitePath.

        Attachments

        1. base_path_1005.2.patch
          11 kB
        2. base_path_1005.patch
          5 kB
        3. base_path_core_v3.patch
          19 kB
        4. base_path_modules_1005.2.patch
          0.6 kB
        5. base_path_modules_v3.patch
          13 kB

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
                Developer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: