<?php
return array(
//'配置项'=>'配置值'
//这种是在外部分组,不用开启独立分组的时候
// 'APP_GROUP_LIST'=>'Admin,Index',
// 'DEFAULT_GROUP'=>'Index',
//开启独立分组
// 'APP_GROUP_LIST'=>'Admin,Index',
// 'DEFAULT_GROUP'=>'Index',
// 'APP_GROUP_MODE'=>1,
// 'APP_GROUP_PATH'=>'Modules',
'APP_DEBUG' => true, // 开启调试模式
'DB_TYPE'=> 'mysql', // 数据库类型
'DB_HOST'=> 'localhost', // 数据库服务器地址
'DB_NAME'=>'thinkphp', // 数据库名称
'DB_USER'=>'root', // 数据库用户名
'DB_PWD'=>'', // 数据库密码
'DB_PORT'=>'3306', // 数据库端口
'DB_PREFIX'=>'think_', // 数据表前缀
);
?>
return array(
//'配置项'=>'配置值'
//这种是在外部分组,不用开启独立分组的时候
// 'APP_GROUP_LIST'=>'Admin,Index',
// 'DEFAULT_GROUP'=>'Index',
//开启独立分组
// 'APP_GROUP_LIST'=>'Admin,Index',
// 'DEFAULT_GROUP'=>'Index',
// 'APP_GROUP_MODE'=>1,
// 'APP_GROUP_PATH'=>'Modules',
'APP_DEBUG' => true, // 开启调试模式
'DB_TYPE'=> 'mysql', // 数据库类型
'DB_HOST'=> 'localhost', // 数据库服务器地址
'DB_NAME'=>'thinkphp', // 数据库名称
'DB_USER'=>'root', // 数据库用户名
'DB_PWD'=>'', // 数据库密码
'DB_PORT'=>'3306', // 数据库端口
'DB_PREFIX'=>'think_', // 数据表前缀
);
?>
本文介绍了ThinkPHP框架的基本配置设置,包括开启调试模式、数据库连接配置等关键参数的设定方法。
5327

被折叠的 条评论
为什么被折叠?



