Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:xp-framework/scriptlet
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 20, 2015
2 parents fc81537 + 4b6c67e commit dc88288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/php/scriptlet/HttpScriptletRequest.class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php namespace scriptlet;

use peer\http\HttpConstants;
use io\streams\ChannelInputStream;

/**
* Defines the request sent by the client to the server
Expand Down Expand Up @@ -429,7 +430,7 @@ public function isMultiPart() {
public function getInputStream() {
if (null === $this->inputStream) {
if (null === $this->readData) {
$this->inputStream= \lang\XPClass::forName('io.streams.ChannelInputStream')->newInstance('input');
$this->inputStream= new ChannelInputStream('input');
} else {
$f= $this->readData;
$this->inputStream= $f();
Expand Down

0 comments on commit dc88288

Please sign in to comment.