Skip to content

Commit

Permalink
added Debugger::$version
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 22, 2014
1 parent 919b9fc commit 7f25838
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Tracy/Debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
*/
class Debugger
{
/** @var string */
public static $version = '0.9.0';

/** @var bool in production mode is suppressed any debugging output */
public static $productionMode = self::DETECT;

Expand Down Expand Up @@ -220,7 +223,7 @@ public static function getBlueScreen()
self::$blueScreen->info = array(
'PHP ' . PHP_VERSION,
isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : NULL,
class_exists('Nette\Framework') ? 'Nette Framework ' . \Nette\Framework::VERSION . ' (revision ' . \Nette\Framework::REVISION : NULL,
'Tracy ' . self::$version,
);
}
return self::$blueScreen;
Expand All @@ -241,7 +244,7 @@ public static function getBar()
self::$bar->info = array(
'PHP ' . PHP_VERSION,
isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : NULL,
class_exists('Nette\Framework') ? 'Nette Framework ' . \Nette\Framework::VERSION . ' (revision ' . \Nette\Framework::REVISION : NULL,
'Tracy ' . self::$version,
);
}
return self::$bar;
Expand Down

0 comments on commit 7f25838

Please sign in to comment.