From 2c9cf2103b7120b674a01bd2064df25a2ff8a3b5 Mon Sep 17 00:00:00 2001 From: Charl Mert <cmert@lbsd.net> Date: Thu, 22 May 2014 14:25:15 +0200 Subject: [PATCH] added check to deny direct access --- modules/registrars/cozaepp/cozaepp.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php index be29973..a359d4d 100644 --- a/modules/registrars/cozaepp/cozaepp.php +++ b/modules/registrars/cozaepp/cozaepp.php @@ -35,7 +35,9 @@ # integration, customizations and consulting all available from # http://allworldit.com - +// Make sure we not being accssed directly +if (!defined("WHMCS")) + die("This file cannot be accessed directly"); # Configuration array function cozaepp_getConfigArray() { -- GitLab