From 1fc31b754718566c1f995178a28219c8afbaf3f9 Mon Sep 17 00:00:00 2001 From: Craig Cawood <craig@trinesoft.co.za> Date: Wed, 14 Mar 2018 00:49:08 +0200 Subject: [PATCH] v6 requires init.php instead of dbconnect.php --- contrib/cozaepp-cli | 2 +- contrib/cozaeppdisableautorenew.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/cozaepp-cli b/contrib/cozaepp-cli index a0f5548..e0b8d56 100755 --- a/contrib/cozaepp-cli +++ b/contrib/cozaepp-cli @@ -38,7 +38,7 @@ # ! ! CONFIGURATION REQUIRED ! ! # Set the path below to the dbconnect.php file of your WHMCS installation. -$dbconnpath = dirname(__FILE__) . '/../dbconnect.php'; +$dbconnpath = dirname(__FILE__) . '/../init.php'; // Function that displays help function _displayHelp() { diff --git a/contrib/cozaeppdisableautorenew.php b/contrib/cozaeppdisableautorenew.php index c908557..447c4b2 100644 --- a/contrib/cozaeppdisableautorenew.php +++ b/contrib/cozaeppdisableautorenew.php @@ -46,7 +46,7 @@ */ // This file brings in a few constants we need -require_once dirname(__FILE__) . '/../../../dbconnect.php'; +require_once dirname(__FILE__) . '/../../../init.php'; // Setup include dir $include_path = ROOTDIR . '/modules/registrars/cozaepp'; set_include_path($include_path . PATH_SEPARATOR . get_include_path()); -- GitLab