From a94447d0226bdc04f3b0836ffb732e9674ac6acf Mon Sep 17 00:00:00 2001 From: Bui Sy Nguyen Date: Sat, 30 Apr 2016 17:38:35 +0700 Subject: [PATCH] #6 migrate Zend_Amf_Server --- fproject/amf/Server.php | 2 +- fproject/amf/parse/resource/Stream.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fproject/amf/Server.php b/fproject/amf/Server.php index 1fe7a9c..b108d83 100644 --- a/fproject/amf/Server.php +++ b/fproject/amf/Server.php @@ -120,7 +120,7 @@ class Server */ public function __construct() { - TypeLoader::setResourceLoader(new ResourceLoader(array("Zend_Amf_Parse_Resource" => "amf/parse/resource"))); + TypeLoader::setResourceLoader(new ResourceLoader(array("Resource" => "amf/parse/resource"))); } /** diff --git a/fproject/amf/parse/resource/Stream.php b/fproject/amf/parse/resource/Stream.php index 5310f4d..45ce5b5 100644 --- a/fproject/amf/parse/resource/Stream.php +++ b/fproject/amf/parse/resource/Stream.php @@ -23,7 +23,7 @@ * This class will convert stream resource to string by just reading it * */ -class Stream +class Resource_Stream { /** * Parse resource into string