Merge branch 'MDL-69513-dkim-settings' of https://github.com/brendanheywood/moodle
[moodle.git] / admin / settings / server.php
index 71376aa..11541bb 100644 (file)
@@ -458,7 +458,7 @@ if ($hassiteconfig) {
     $noreplyaddress = isset($CFG->noreplyaddress) ? $CFG->noreplyaddress : 'noreply@example.com';
     $dkimdomain = substr(strrchr($noreplyaddress, "@"), 1);
     $dkimselector = empty($CFG->emaildkimselector) ? '[selector]' : $CFG->emaildkimselector;
-    $pempath = "{$CFG->dataroot}/dkim/{$dkimdomain}/{$dkimselector}.private";
+    $pempath = "\$CFG->dataroot/dkim/{$dkimdomain}/{$dkimselector}.private";
     $temp->add(new admin_setting_heading('emaildkim', new lang_string('emaildkim', 'admin'),
         new lang_string('emaildkiminfo', 'admin', ['path' => $pempath, 'docs' => \get_docs_url('Mail_configuration#DKIM')])));
     $temp->add(new admin_setting_configtext('emaildkimselector', new lang_string('emaildkimselector', 'admin'),