mlutfy / hosting_wordpress

WordPress support for the Aegir project (front-end module).
12 stars 10 forks source link

Set the CIVICRM_SETTINGS vhost env variable #20

Open mlutfy opened 8 years ago

mlutfy commented 8 years ago

The civimail open/click-through scripts cannot find the civicrm.settings.php file. The simplest workaround I could find is to set the CIVICRM_SETTINGS env variable in the vhost.

Ex:

SetEnv CIVICRM_SETTINGS /srv/aegir/platforms/wordpress-4.4/sites/example.org/wp-content/plugins/civicrm/civicrm.settings.php

This should be added systematically.