From: Roger Meier Date: Fri, 20 Jan 2012 15:31:45 +0000 (+0000) Subject: THRIFT-1495 PHP TestClient fatals on missing class X-Git-Tag: 0.9.1~463 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=3ac6d879280568e9a1a6efd7cd0255f34d4cb1ba;p=common%2Fthrift.git THRIFT-1495 PHP TestClient fatals on missing class Patch: Andrew Grumet git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1233958 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/php/TestClient.php b/test/php/TestClient.php old mode 100644 new mode 100755 index 653b8650..009137b3 --- a/test/php/TestClient.php +++ b/test/php/TestClient.php @@ -72,17 +72,17 @@ $socket->setDebug(TRUE); if ($MODE == 'inline') { $transport = $socket; - $testClient = new ThriftTestClient($transport); + $testClient = new ThriftTest_ThriftTestClient($transport); } else if ($MODE == 'framed') { $framedSocket = new TFramedTransport($socket); $transport = $framedSocket; $protocol = new TBinaryProtocol($transport); - $testClient = new ThriftTestClient($protocol); + $testClient = new ThriftTest_ThriftTestClient($protocol); } else { $bufferedSocket = new TBufferedTransport($socket, 1024, 1024); $transport = $bufferedSocket; $protocol = new TBinaryProtocol($transport); - $testClient = new ThriftTestClient($protocol); + $testClient = new ThriftTest_ThriftTestClient($protocol); } $transport->open();