mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
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
This commit is contained in:
parent
53ae9f39d5
commit
7834ccbdac
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user