diff --git a/api/soap/mantisconnect.php b/api/soap/mantisconnect.php index d6efdaf0b7..7684cd0155 100644 --- a/api/soap/mantisconnect.php +++ b/api/soap/mantisconnect.php @@ -1377,7 +1377,7 @@ function mci_is_webservice_call( $p_service, $p_data ) # request is a webservice call (rather than webservice documentation request, # eg: WSDL). if ( mci_is_webservice_call( $l_oServer, $t_input ) ) { - require_once( $t_current_dir . 'mc_core.php' ); + require_once( 'mc_core.php' ); } else { # if we have a documentation request, do some tidy up to prevent lame bot loops e.g. /mantisconnect.php/mc_enum_etas/mc_project_get_versions/ $parts = explode ( 'mantisconnect.php/', strtolower($_SERVER['PHP_SELF'] ), 2 );