Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disable Firebug when running from the CLI

  • Loading branch information...
commit e65ce8cb13eb643d3eac119c533fa070d349a698 1 parent f41e208
@predakanga authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/Plugins/Firebug/Init.php
View
3  src/Plugins/Firebug/Init.php
@@ -44,6 +44,9 @@ class Init extends BaseInit {
protected $firephp;
public function everyTimeInit() {
+ if(PHP_SAPI == "cli") {
+ return;
+ }
// If we're not a dev, quit immediately
$user = User::me($this->container, false);
if($user && $user->isDev()) {
Please sign in to comment.
Something went wrong with that request. Please try again.