diff --git a/config_defaults_inc.php b/config_defaults_inc.php index 25d2459e25..ed57801c9e 100644 --- a/config_defaults_inc.php +++ b/config_defaults_inc.php @@ -101,7 +101,7 @@ # Remove /api/soap/ from the path to handle the case where the config_defaults_inc.php is included from the # soap api. $t_soap_api_path = '/api/soap'; - $t_soap_api_path_pos = stripos( $t_path, $t_soap_api_path ); + $t_soap_api_path_pos = strpos( strtolower( $t_path ), $t_soap_api_path ); if ( $t_soap_api_path_pos == ( strlen( $t_path ) - strlen( $t_soap_api_path ) ) ) { $t_path = substr( $t_path, 0, $t_soap_api_path_pos ); }