* Fix bugs of install.

This commit is contained in:
朱金勇
2023-10-11 06:59:50 +00:00
parent 9617849361
commit bd8672eb14
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -1017,7 +1017,7 @@ class baseControl
\zin\zin::$data = (array)$this->view;
\zin\zin::$data['zinDebug'] = array();
if($this->config->debug && $this->config->debug >= 2)
if($this->config->debug && $this->config->debug >= 2 && $this->config->installed)
{
\zin\zin::$data['zinDebug']['trace'] = $this->app->loadClass('trace')->getTrace();
}