Commit c3ef2353 authored by hujun's avatar hujun

rename

parent ab3d1d88
<?php
/**
* 公共函数
* Created by NetBeans.
* User : hj
* Date : 2017.12.6
* Time : 14:36
* Intro:
*/
\ No newline at end of file
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
// [ 应用入口文件 ] // [ 应用入口文件 ]
// 定义应用目录 // 定义应用目录
define('APP_PATH', __DIR__ . '/../application/'); define('APP_PATH', __DIR__ . '/../application/');
// 加载框架基础引导文件 // 加载框架引导文件
require __DIR__ . '/../thinkphp/base.php'; require __DIR__ . '/../thinkphp/start.php';
// 添加额外的代码 /*// 读取自动生成定义文件
// ... $build = include './../build.php';
// 执行应用 // 运行自动生成
\think\App::run()->send(); \think\Build::run($build);*/
\ No newline at end of file
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
// [ 应用入口文件 ] // [ 应用入口文件 ]
// 定义应用目录 // 定义应用目录
define('APP_PATH', __DIR__ . '/../application/'); define('APP_PATH', __DIR__ . '/../application/');
// 加载框架引导文件 // 加载框架基础引导文件
require __DIR__ . '/../thinkphp/start.php'; require __DIR__ . '/../thinkphp/base.php';
/*// 读取自动生成定义文件 // 添加额外的代码
$build = include './../build.php'; // ...
// 运行自动生成 // 执行应用
\think\Build::run($build);*/ \think\App::run()->send();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment