From 7834ccbdacf5b7aac80fa8dc943553b5f72c610a Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 9 Dec 2009 19:29:48 +0000 Subject: [PATCH] THRIFT-592. php: Make the tutorial work properly after r815878 git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@888929 13f79535-47bb-0310-9956-ffa450edef68 --- tutorial/php/PhpClient.php | 8 ++++---- tutorial/php/PhpServer.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tutorial/php/PhpClient.php b/tutorial/php/PhpClient.php index c5c08101..a6639d5f 100755 --- a/tutorial/php/PhpClient.php +++ b/tutorial/php/PhpClient.php @@ -37,10 +37,10 @@ require_once $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php'; */ error_reporting(E_NONE); $GEN_DIR = '../gen-php'; -require_once $GEN_DIR.'/SharedService.php'; -require_once $GEN_DIR.'/shared_types.php'; -require_once $GEN_DIR.'/Calculator.php'; -require_once $GEN_DIR.'/tutorial_types.php'; +require_once $GEN_DIR.'/shared/SharedService.php'; +require_once $GEN_DIR.'/shared/shared_types.php'; +require_once $GEN_DIR.'/tutorial/Calculator.php'; +require_once $GEN_DIR.'/tutorial/tutorial_types.php'; error_reporting(E_ALL); try { diff --git a/tutorial/php/PhpServer.php b/tutorial/php/PhpServer.php index 9482c649..235b15ba 100755 --- a/tutorial/php/PhpServer.php +++ b/tutorial/php/PhpServer.php @@ -48,10 +48,10 @@ require_once $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php'; */ error_reporting(E_NONE); $GEN_DIR = realpath(dirname(__FILE__).'/..').'/gen-php'; -require_once $GEN_DIR.'/SharedService.php'; -require_once $GEN_DIR.'/shared_types.php'; -require_once $GEN_DIR.'/Calculator.php'; -require_once $GEN_DIR.'/tutorial_types.php'; +require_once $GEN_DIR.'/shared/SharedService.php'; +require_once $GEN_DIR.'/shared/shared_types.php'; +require_once $GEN_DIR.'/tutorial/Calculator.php'; +require_once $GEN_DIR.'/tutorial/tutorial_types.php'; error_reporting(E_ALL); class CalculatorHandler implements CalculatorIf { -- 2.17.1