diff --git a/framework/base/control.class.php b/framework/base/control.class.php index bef087fafd..0cca2ce9a5 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -1026,7 +1026,7 @@ class baseControl $context->data = (array)$this->view; $context->data['zinDebug'] = array(); - if($this->config->debug && $this->config->debug >= 2 && $this->config->installed) + if($this->config->debug && $this->config->debug >= 2 && $this->config->installed && $this->config->db->driver == 'mysql') { $context->data['zinDebug']['trace'] = $this->app->loadClass('trace')->getTrace(); }