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

Rename civicrm.settings.php.tpl so it uses a different suffix from Smarty templates

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Rename it to civicrm.settings.php.template

      When CiviCRM is on Smarty 3, we will want to use http://www.smarty.net/docs/en/api.compile.all.templates.tpl to pre-compile all templates. Since civicrm.settings.php.tpl ends with .tpl and is in the templates directory, Smarty will try to compile that too, even though it is not a template. It can be renamed to not end in .tpl or moved out of the templates directory.

      (We are pre-compiling templates as part of our deployment script. The compiled templates will be owned by the deployment user instead of the web server user.)

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              drumm Neil Drumm
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: