From: gggeek Date: Tue, 14 Apr 2015 21:48:11 +0000 (+0100) Subject: Fix: lowercase class name makes debugger break on HHVM X-Git-Tag: 4.0.0-alpha^2~88 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=eaeefaf3ab806831c00824b6c102037c7296c289 Fix: lowercase class name makes debugger break on HHVM --- diff --git a/debugger/action.php b/debugger/action.php index 0345798..7bb07f5 100644 --- a/debugger/action.php +++ b/debugger/action.php @@ -104,11 +104,11 @@ if ($action) { if (!class_exists('jsonrpc_client')) { die('Error: to debug the jsonrpc protocol the jsonrpc.inc file is needed'); } - $clientClass = 'PhpJsRpc\client'; - $requestClass = 'PhpJsRpc\request'; + $clientClass = 'PhpJsRpc\Client'; + $requestClass = 'PhpJsRpc\Request'; $protoName = 'JSONRPC'; } else { - $clientClass = 'PhpXmlRpc\client'; + $clientClass = 'PhpXmlRpc\Client'; $requestClass = 'PhpXmlRpc\Request'; $protoName = 'XMLRPC'; }