File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ public function registerBundles()
2121 */
2222 public function registerContainerConfiguration (LoaderInterface $ loader )
2323 {
24- $ loader ->load (__DIR__ .'/config/config.yml ' );
24+ $ runtime = 'php ' ;
25+ if (defined ('HHVM_VERSION ' )) {
26+ $ runtime = 'hhvm ' ;
27+ }
28+ $ loader ->load (__DIR__ .'/config/config_ ' .$ runtime .'.yml ' );
2529 }
2630
2731 /**
Original file line number Diff line number Diff line change 1+ framework :
2+ secret : php-http
3+ test : ~
4+
5+ # Do not use auto discovery
6+ httplug :
7+ classes :
8+ client : Http\Adapter\Guzzle6\Client
9+ message_factory : Http\Message\MessageFactory\GuzzleMessageFactory
10+ uri_factory : Http\Message\UriFactory\GuzzleUriFactory
11+ stream_factory : Http\Message\StreamFactory\GuzzleStreamFactory
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ framework:
22 secret : php-http
33 test : ~
44
5+ # Use auto discovery
56httplug : ~
You can’t perform that action at this time.
0 commit comments