Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15632

Do not exit if templates_c unwritable in CLI mode

    Details

    • Type: Bug
    • Status: In Quality Assurance
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.4.9
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None

      Description

      CiviCRM checks for writable smarty cache in CRM/Core/Smarty.php, but this check is unnecessary in CLI mode (we don't need to write to smarty cache) and unhelpful (it bails out even if we weren't going to write there).

      Checking php_sapi_name() before bailing out prevents this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jitendra.purohit Jitendra Purohit
                Reporter:
                xurizaemon Chris Burgess
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: