mk-drupal-test-site - Write outgoing mails to /dev/null
authorTim Otten <totten@civicrm.org>
Wed, 8 May 2013 18:41:47 +0000 (18:41 +0000)
committerroot <root@test-ubu1204-1.civicrm.osuosl.org>
Wed, 8 May 2013 18:42:49 +0000 (18:42 +0000)
tools/scripts/mk-drupal-test-site

index 0624cf8b192ceec252ffc332d797291e30cfc326..c73b4401894e0a11fc9ea97a4f4735b043989cf8 100755 (executable)
@@ -89,6 +89,8 @@ cat "$CIVI_ROOT/templates/CRM/common/civicrm.settings.php.tpl" \
   | sed "s;%%templateCompileDir%%;${DRUPAL_ROOT}/sites/${SITE_URL}/files/civicrm/templates_c;" \
   > "sites/$SITE_URL/civicrm.settings.php"
 
+echo  >> "sites/$SITE_URL/civicrm.settings.php"
+echo "define('CIVICRM_MAIL_LOG', '/dev/null');" >> "sites/$SITE_URL/civicrm.settings.php"
 popd
 
 ## Create CiviCRM config