Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
c3ef2353
Commit
c3ef2353
authored
Dec 06, 2017
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename
parent
ab3d1d88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
13 deletions
+23
-13
common.php
application/api/common.php
+10
-0
admin.php
public/admin.php
+7
-6
index.php
public/index.php
+6
-7
No files found.
application/api/common.php
0 → 100644
View file @
c3ef2353
<?php
/**
* 公共函数
* Created by NetBeans.
* User : hj
* Date : 2017.12.6
* Time : 14:36
* Intro:
*/
\ No newline at end of file
public/a
pi
.php
→
public/a
dmin
.php
View file @
c3ef2353
...
...
@@ -12,9 +12,9 @@
// [ 应用入口文件 ]
// 定义应用目录
define
(
'APP_PATH'
,
__DIR__
.
'/../application/'
);
// 加载框架
基础
引导文件
require
__DIR__
.
'/../thinkphp/
base
.php'
;
/
/ 添加额外的代码
// ...
//
执行应用
\think\
App
::
run
()
->
send
();
// 加载框架引导文件
require
__DIR__
.
'/../thinkphp/
start
.php'
;
/
*// 读取自动生成定义文件
$build = include './../build.php';
//
运行自动生成
\think\
Build::run($build);*/
\ No newline at end of file
public/index.php
View file @
c3ef2353
...
...
@@ -12,9 +12,9 @@
// [ 应用入口文件 ]
// 定义应用目录
define
(
'APP_PATH'
,
__DIR__
.
'/../application/'
);
// 加载框架引导文件
require
__DIR__
.
'/../thinkphp/start.php'
;
/*// 读取自动生成定义文件
$build = include './../build.php';
// 运行自动生成
\think\Build::run($build);*/
\ No newline at end of file
// 加载框架基础引导文件
require
__DIR__
.
'/../thinkphp/base.php'
;
// 添加额外的代码
// ...
// 执行应用
\think\App
::
run
()
->
send
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment