From bb995ab3556825b2ff49c1b9adac632e5145e0ca Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 12 May 2020 15:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/PartnerController.class.php | 26 ------------ api.php | 42 ------------------- 2 files changed, 68 deletions(-) delete mode 100644 Application/Api/Controller/PartnerController.class.php delete mode 100644 api.php diff --git a/Application/Api/Controller/PartnerController.class.php b/Application/Api/Controller/PartnerController.class.php deleted file mode 100644 index 1fd2c63d7..000000000 --- a/Application/Api/Controller/PartnerController.class.php +++ /dev/null @@ -1,26 +0,0 @@ -field("id,partner name")->select(); - - header('Content-Type:application/json; charset=utf-8'); - exit(json_encode($data)); - - } - -} - diff --git a/api.php b/api.php deleted file mode 100644 index a3de6e2b3..000000000 --- a/api.php +++ /dev/null @@ -1,42 +0,0 @@ - -// +---------------------------------------------------------------------- - -if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !'); - -/** - * 系统调试设置 - * 项目正式部署后请设置为false - */ -define('APP_DEBUG', true ); -define('BIND_MODULE','Api'); -define('ROOTTT',dirname(__FILE__).'/'); -define('ROOTTTTT',dirname(__FILE__)); -define('FONTS',dirname(__FILE__).'/Public/Admin/fonts/'); -/** - * 应用目录设置 - * 安全期间,建议安装调试完成后移动到非WEB目录 - */ -define ( 'APP_PATH', './Application/' ); - -if(!is_file(APP_PATH . 'User/Conf/config.php')){ - header('Location: ./install.php'); - exit; -} - -/** - * 缓存目录设置 - * 此目录必须可写,建议移动到非WEB目录 - */ -define ( 'RUNTIME_PATH', './Runtime/' ); - -/** - * 引入核心入口 - * ThinkPHP亦可移动到WEB以外的目录 - */ -require './ThinkPHP/ThinkPHP.php'; \ No newline at end of file