Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
whmcs-coza-epp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rob
whmcs-coza-epp
Commits
412fc7ff
Commit
412fc7ff
authored
10 years ago
by
Charl Mert
Browse files
Options
Downloads
Patches
Plain Diff
checking DomainSyncEnabled config option before running sync closes issue #6
parent
4eccb3ef
No related branches found
Branches containing commit
Tags
v0.1.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/registrars/cozaepp/cozaeppsync.php
+10
-0
10 additions, 0 deletions
modules/registrars/cozaepp/cozaeppsync.php
with
10 additions
and
0 deletions
modules/registrars/cozaepp/cozaeppsync.php
+
10
−
0
View file @
412fc7ff
...
@@ -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
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment