diff options
author | David Reiss <dreiss@apache.org> | 2009-12-09 19:29:48 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-12-09 19:29:48 +0000 |
commit | 7834ccbdacf5b7aac80fa8dc943553b5f72c610a (patch) | |
tree | c4f932ce8ff2e05cab813bde75b840b20ec53134 /tutorial/php | |
parent | 53ae9f39d5118d9b13774413e7989b9f0fb1a8eb (diff) | |
download | thrift-7834ccbdacf5b7aac80fa8dc943553b5f72c610a.tar.gz |
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
Diffstat (limited to 'tutorial/php')
-rwxr-xr-x | tutorial/php/PhpClient.php | 8 | ||||
-rwxr-xr-x | 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 c5c081012..a6639d5fd 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 9482c6496..235b15bab 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 { |