Skip to content
Snippets Groups Projects
Commit 56df0276 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'domainsynccheck' into 'master'

Domainsynccheck
parents ee1397e1 412fc7ff
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,16 @@ require_once ROOTDIR . '/includes/registrarfunctions.php'; ...@@ -52,6 +52,16 @@ require_once ROOTDIR . '/includes/registrarfunctions.php';
# Grab module parameters # Grab module parameters
$params = getregistrarconfigoptions('cozaepp'); $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");
exit(0);
}
echo("COZA-EPP Domain Sync Report\n"); echo("COZA-EPP Domain Sync Report\n");
echo("---------------------------------------------------\n"); echo("---------------------------------------------------\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment