mirror of
https://e.coding.net/circlecloud/MinecraftAccount.git
synced 2025-11-24 21:26:09 +00:00
1
Application/Common/Common/index.html
Normal file
1
Application/Common/Common/index.html
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
12
Application/Common/Conf/config.php
Normal file
12
Application/Common/Conf/config.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
return array (
|
||||
// '配置项'=>'配置值'
|
||||
// 添加数据库配置信息
|
||||
'DB_TYPE' => 'mysql', // 数据库类型
|
||||
'DB_HOST' => '127.0.0.1', // 服务器地址
|
||||
'DB_NAME' => 'minecraft', // 数据库名
|
||||
'DB_USER' => 'minecraft', // 用户名
|
||||
'DB_PWD' => '325325', // 密码
|
||||
'DB_PORT' => 3306, // 端口
|
||||
'DB_CHARSET' => 'utf8'
|
||||
); // 数据库字符集
|
||||
1
Application/Common/Conf/index.html
Normal file
1
Application/Common/Conf/index.html
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
Application/Common/index.html
Normal file
1
Application/Common/index.html
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
13
Application/Home/Conf/config.php
Normal file
13
Application/Home/Conf/config.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
return array (
|
||||
// 添加数据库配置信息
|
||||
'DB_TYPE' => 'mysql', // 数据库类型
|
||||
'DB_HOST' => '127.0.0.1', // 服务器地址
|
||||
'DB_NAME' => 'minecraft', // 数据库名
|
||||
'DB_USER' => 'minecraft', // 用户名
|
||||
'DB_PWD' => '325325', // 密码
|
||||
'DB_PORT' => 3306, // 端口
|
||||
'DB_PREFIX' => '', // 数据库表前缀
|
||||
'DB_CHARSET' => 'utf8'
|
||||
) // 数据库字符集
|
||||
;
|
||||
11
Application/Home/Controller/IndexController.class.php
Normal file
11
Application/Home/Controller/IndexController.class.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace Home\Controller;
|
||||
use Think\Controller;
|
||||
class IndexController extends Controller {
|
||||
public function index(){
|
||||
$data=M('authme')->select();
|
||||
$this->data->$data;
|
||||
$this->display();
|
||||
//$this->show('<style type="text/css">*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} body{ background: #fff; font-family: "微软雅黑"; color: #333;font-size:24px} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.8em; font-size: 36px } a,a:hover{color:blue;}</style><div style="padding: 24px 48px;"> <h1>:)</h1><p>欢迎使用 <b>ThinkPHP</b>!</p><br/>版本 V{$Think.version}</div><script type="text/javascript" src="http://ad.topthink.com/Public/static/client.js"></script><thinkad id="ad_55e75dfae343f5a1"></thinkad><script type="text/javascript" src="http://tajs.qq.com/stats?sId=9347272" charset="UTF-8"></script>','utf-8');
|
||||
}
|
||||
}
|
||||
0
Application/Home/View/Index/index.html
Normal file
0
Application/Home/View/Index/index.html
Normal file
1
Application/README.md
Normal file
1
Application/README.md
Normal file
@@ -0,0 +1 @@
|
||||
项目目录
|
||||
Reference in New Issue
Block a user