mirror of
https://github.com/getgrav/grav.git
synced 2026-03-09 14:10:53 +01:00
Merge branch 'release/1.0.2'
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.0.2
|
||||
## 12/11/2015
|
||||
|
||||
1. [](#bugfix)
|
||||
* Fix for timing display in debugbar
|
||||
|
||||
# v1.0.1
|
||||
## 12/11/2015
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// Some standard defines
|
||||
define('GRAV', true);
|
||||
define('GRAV_VERSION', '1.0.1');
|
||||
define('GRAV_VERSION', '1.0.2');
|
||||
define('DS', '/');
|
||||
|
||||
// Directories and Paths
|
||||
|
||||
@@ -107,7 +107,7 @@ class Debugger
|
||||
|
||||
public function stopTimer($name)
|
||||
{
|
||||
if (isset($this->timers[$name]) && ($name[0] == '_' || $this->grav['config']->get('system.debugger.enabled'))) {
|
||||
if (in_array($name, $this->timers) && ($name[0] == '_' || $this->grav['config']->get('system.debugger.enabled'))) {
|
||||
$this->debugbar['time']->stopMeasure($name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user