ソースを参照

Php swoole less verbose make (#3645)

Joan Miquel 7 年 前
コミット
195f7fafd3

+ 1 - 1
frameworks/PHP/php/php-swoole.dockerfile

@@ -4,7 +4,7 @@ ENV SWOOLE_VERSION=2.0.9
 
 RUN cd /tmp && curl -sSL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" | tar xzf - \
         && cd swoole-src-${SWOOLE_VERSION} \
-        && phpize && ./configure --quiet && make --quiet && make install --quiet \
+        && phpize && ./configure > /dev/null && make > /dev/null && make install > /dev/null \
         && docker-php-ext-enable swoole
 
 ADD ./ /swoole

+ 1 - 1
frameworks/PHP/phpixie/classes/App/Controller/Benchmark.php

@@ -62,7 +62,7 @@ class Benchmark extends \PHPixie\Controller {
 	}
 	
 	public function action_plaintext() {
-		$this->response-> add_header("Content-Type: application/json");
+		$this->response-> add_header("Content-Type: text/plain");
 		$this->response->body = "Hello, World!";
 	}