You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/12/09 20:29:49 UTC

svn commit: r888929 - in /incubator/thrift/trunk/tutorial/php: PhpClient.php PhpServer.php

Author: dreiss
Date: Wed Dec  9 19:29:48 2009
New Revision: 888929

URL: http://svn.apache.org/viewvc?rev=888929&view=rev
Log:
THRIFT-592. php: Make the tutorial work properly after r815878

Modified:
    incubator/thrift/trunk/tutorial/php/PhpClient.php
    incubator/thrift/trunk/tutorial/php/PhpServer.php

Modified: incubator/thrift/trunk/tutorial/php/PhpClient.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/php/PhpClient.php?rev=888929&r1=888928&r2=888929&view=diff
==============================================================================
--- incubator/thrift/trunk/tutorial/php/PhpClient.php (original)
+++ incubator/thrift/trunk/tutorial/php/PhpClient.php Wed Dec  9 19:29:48 2009
@@ -37,10 +37,10 @@
  */
 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 {

Modified: incubator/thrift/trunk/tutorial/php/PhpServer.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/tutorial/php/PhpServer.php?rev=888929&r1=888928&r2=888929&view=diff
==============================================================================
--- incubator/thrift/trunk/tutorial/php/PhpServer.php (original)
+++ incubator/thrift/trunk/tutorial/php/PhpServer.php Wed Dec  9 19:29:48 2009
@@ -48,10 +48,10 @@
  */
 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 {