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

Better path handling when setting include dir

parent bf47dad9
No related branches found
No related tags found
No related merge requests found
...@@ -787,7 +787,7 @@ function cozaepp_DeleteNameserver($params) { ...@@ -787,7 +787,7 @@ function cozaepp_DeleteNameserver($params) {
# Function to create internal COZA EPP request # Function to create internal COZA EPP request
function _cozaepp_Client() { function _cozaepp_Client() {
# Setup include dir # Setup include dir
$include_path = '../modules/registrars/cozaepp'; $include_path = ROOTDIR . '/modules/registrars/cozaepp';
set_include_path(get_include_path() . PATH_SEPARATOR . $include_path); set_include_path(get_include_path() . PATH_SEPARATOR . $include_path);
include_once 'Net/EPP/Client.php'; include_once 'Net/EPP/Client.php';
include_once 'Net/EPP/Protocol.php'; include_once 'Net/EPP/Protocol.php';
......
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