diff --git a/contrib/cozaepp-cli b/contrib/cozaepp-cli index a0f5548337fca53cf28d4bd7cdb0584148385c9d..e0b8d56dfd605e107e95064c0938dcdc2a1dc58f 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 c908557f8af0c346292009f5ba1fab2adc759e43..447c4b20614f27df78f0951b5ba751097484061d 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());