删除授权系统和取消忽略数据库配置文件

This commit is contained in:
wenquan
2020-04-11 17:48:03 +08:00
parent 6af56dceb3
commit 40db18262c
4 changed files with 442 additions and 3 deletions
-1
View File
@@ -1,4 +1,3 @@
/function/config.inc.php
/img/apps/*
/admin/dialogs/upload/*
/.idea/
-1
View File
@@ -14,7 +14,6 @@ include '../function/function_app.php';
include '../function/Tips.php';
if (!empty($_GET['c']) && $_GET['c'] == 'api') include '../function/api.class.php';else include '../function/Encryption.class.php';
if (empty($_GET['appid'])) die(makejson(-1,$Tips['NoAppID']));
if (strlen($_GET['sign']) !== 32) die(makejson(-2,$Tips['NoSign']));
$data = $_POST['data'];
+7
View File
@@ -0,0 +1,7 @@
<?php
$G['db']['server'] = 'localhost';
$G['db']['user'] = 'root';
$G['db']['pass'] = '123456789';
$G['db']['dbname'] = 'wenquan_auth';
//error_reporting(E_ALL);
File diff suppressed because one or more lines are too long