We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160e166 commit 762cddcCopy full SHA for 762cddc
composer.json
@@ -33,7 +33,7 @@
33
"require": {
34
"php": ">=5.3.0",
35
"illuminate/support": "5.*",
36
- "php-console/php-console": ">=3.1"
+ "php-console/php-console": ">=3.1.4 <4.0"
37
},
38
"autoload": {
39
"psr-0": {
src/PhpConsole/Laravel/ServiceProvider.php
@@ -108,7 +108,11 @@ protected function initPhpConsole() {
108
Helper::register();
109
}
110
111
- if (!$this->isEnabled || !Connector::getInstance()->isActiveClient()) {
+ $isActiveClient = $connector->isActiveClient();
112
+ if (!$this->isEnabled || !$isActiveClient) {
113
+ if($isActiveClient) {
114
+ $connector->disable();
115
+ }
116
return;
117
118
0 commit comments