Commit 56df0276 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'domainsynccheck' into 'master'

parents ee1397e1 412fc7ff
......@@ -52,6 +52,16 @@ require_once ROOTDIR . '/includes/registrarfunctions.php';
# Grab module parameters
$params = getregistrarconfigoptions('cozaepp');
# Grab the configuration setting for DomainSyncEnabled
$query = "select value from tblconfiguration where setting = 'DomainSyncEnabled'";
$res = mysql_query($query);
$row = mysql_fetch_array($res);
if (!empty($row) && !$row['value'] == 'on') {
echo("COZAEPP domain sync disabled due to system setting");
echo("COZA-EPP Domain Sync Report\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment