1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 08:14:46 +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

@@ -180,9 +180,9 @@ class system_tools
'backup' => array('diz'=>DBLAN_68,'label'=>DBLAN_69)
);
if(vartrue($_SERVER['E_DEV']))
if(deftrue('e_DEVELOPER'))
{
$this->_options['multisite'] = array('diz'=>'', 'label'=> 'Multi-Site');
$this->_options['multisite'] = array('diz'=>"<span class='label label-warning'>Developer Mode Only</span>", 'label'=> 'Multi-Site' );
}
$this->_options = multiarray_sort($this->_options, 'label');
@@ -446,6 +446,12 @@ class system_tools
private function multiSite()
{
if(!deftrue('e_DEVELOPER'))
{
return false;
}
$mes = e107::getMessage();
$frm = e107::getForm();