diff --git a/Application/Common/Common/index.html b/Application/Common/Common/index.html deleted file mode 100644 index 0519ecb..0000000 --- a/Application/Common/Common/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Application/Common/Conf/config.php b/Application/Common/Conf/config.php index 4a57ea8..69008cd 100644 --- a/Application/Common/Conf/config.php +++ b/Application/Common/Conf/config.php @@ -1,6 +1,5 @@ '配置值' // 添加数据库配置信息 'DB_TYPE' => 'mysql', // 数据库类型 'DB_HOST' => '127.0.0.1', // 服务器地址 diff --git a/Application/Common/Conf/index.html b/Application/Common/Conf/index.html deleted file mode 100644 index 0519ecb..0000000 --- a/Application/Common/Conf/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Application/Common/index.html b/Application/Common/index.html deleted file mode 100644 index 0519ecb..0000000 --- a/Application/Common/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Application/Home/Conf/config.php b/Application/Home/Conf/config.php index 74bc338..7e3997a 100644 --- a/Application/Home/Conf/config.php +++ b/Application/Home/Conf/config.php @@ -4,8 +4,8 @@ return array ( 'DB_TYPE' => 'mysql', // 数据库类型 'DB_HOST' => '127.0.0.1', // 服务器地址 'DB_NAME' => 'minecraft', // 数据库名 - 'DB_USER' => 'minecraft', // 用户名 - 'DB_PWD' => '325325', // 密码 + 'DB_USER' => 'root', // 用户名 + 'DB_PWD' => 'root', // 密码 'DB_PORT' => 3306, // 端口 'DB_PREFIX' => '', // 数据库表前缀 'DB_CHARSET' => 'utf8' diff --git a/Application/Home/Controller/IndexController.class.php b/Application/Home/Controller/IndexController.class.php index a66e027..a8bee21 100644 --- a/Application/Home/Controller/IndexController.class.php +++ b/Application/Home/Controller/IndexController.class.php @@ -4,8 +4,8 @@ use Think\Controller; class IndexController extends Controller { public function index(){ $data=M('authme')->select(); + dump($data); $this->data->$data; $this->display(); - //$this->show('
欢迎使用 ThinkPHP!
欢迎使用 ThinkPHP!