update some page...

Signed-off-by: 502647092 <jtb1@163.com>
master
502647092 2015-10-19 20:48:13 +08:00
parent 3340847e38
commit cdf10d5fed
3 changed files with 5 additions and 5 deletions

View File

@ -15,9 +15,9 @@ $Config ['index'] = "index.php";
// 默认使用数据库配置 *****************************************
$Config ['ConnectTag'] = 'default'; // Mysql连接标识 可同时进行多连接
$Config ['Host'] = 'localhost:3306'; // Mysql主机地址
$Config ['User'] = 'root'; // Mysql用户
$Config ['Password'] = 'ookk1904'; // Mysql密码
$Config ['Host'] = '127.0.0.1:3306'; // Mysql主机地址
$Config ['User'] = 'minecraft'; // Mysql用户
$Config ['Password'] = '325325'; // Mysql密码
$Config ['DBname'] = 'minecraft'; // 数据库名称
$Config ['CharSet'] = "UTF-8";

View File

@ -1,4 +1,4 @@
<?
<?php
class mail extends AmysqlModel {
function check($email) {
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$email'" ) == 0) {

View File

@ -118,7 +118,7 @@ $("#register").click(function(){
switch(C.status){
case "success":
alert(C.info);
location.href = "<?=Url('index','login')?>";
location.href = "<?=Url('index','index')?>";
break;
case "error":
alert(A.info);