summaryrefslogtreecommitdiff
path: root/tutorial/php
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2009-12-09 19:29:48 +0000
committerDavid Reiss <dreiss@apache.org>2009-12-09 19:29:48 +0000
commit7834ccbdacf5b7aac80fa8dc943553b5f72c610a (patch)
treec4f932ce8ff2e05cab813bde75b840b20ec53134 /tutorial/php
parent53ae9f39d5118d9b13774413e7989b9f0fb1a8eb (diff)
downloadthrift-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-xtutorial/php/PhpClient.php8
-rwxr-xr-xtutorial/php/PhpServer.php8
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 {