1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

e_DEVELOPER constant added. (developer mode active). DKIM and Multi-site install set to developer-mode only.

This commit is contained in:
Cameron
2015-05-25 14:35:15 -07:00
parent 219c68e5ed
commit 3d703ebb76
3 changed files with 20 additions and 6 deletions

View File

@@ -1212,12 +1212,19 @@ class mailout_main_ui extends e_admin_ui
"</td>
</tr>\n";
*/
if(function_exists('openssl_pkey_new'))
{
if(function_exists('openssl_pkey_new') && deftrue('e_DEVELOPER'))
{
$text .= "<tr><td>DomainKeys Identified Mail (DKIM)</td><td class='form-inline'>".$frm->button('DKIM_generate',1,'primary','Generate Public/Private keys')."
</td></tr>";
<span class='label label-warning'>Developer Mode Only</span></td></tr>";
}
$text .= "</table></fieldset>
<fieldset id='core-mail-prefs-bounce'>
<legend>".LAN_MAILOUT_31."</legend>