dever 4 years ago
parent
commit
71c05a6b51
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/env/localhost/default.php

+ 2 - 2
config/env/localhost/default.php

@@ -23,10 +23,10 @@ $local = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $ip;
 $config['database'] = array
 (
     # 是否开启mysql自助优化功能,开启后,会记录所有where条件和order的字段,可以方便的在后台进行分析、增加索引,必须安装manage组件
-    'opt' => true,
+    //'opt' => true,
 
     # 是否开启sql自动优化,将sql中的select * 转换为 select a,b形式,将sql中的where条件按照索引从左到右自动排序,必须打开上述的opt选项,数据量大时建议打开。
-    'sqlOp' => true,
+    //'sqlOp' => true,
     'create' => $create,
 	# 默认数据库配置
 	'default' => array