Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
newShopBack
Project
Project
Details
Activity
Releases
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
newshop
newShopBack
Commits
c9704bd4
Commit
c9704bd4
authored
Nov 07, 2019
by
郭勇志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提交文件
parent
954289c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
2 deletions
+37
-2
.gitignore
.gitignore
+3
-2
index.php
backend/web/index.php
+17
-0
index.php
frontend/web/index.php
+17
-0
No files found.
.gitignore
View file @
c9704bd4
...
...
@@ -35,9 +35,10 @@ phpunit.phar
/.vagrant
# ignore generated files
/frontend/web/index.php
#
/frontend/web/index.php
/frontend/web/index-test.php
/frontend/web/robots.txt
/backend/web/index.php
/backend/web/swagger-yaml/v1/swagger.yaml
# /backend/web/index.php
/backend/web/index-test.php
/backend/web/robots.txt
backend/web/index.php
0 → 100644
View file @
c9704bd4
<?php
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
defined
(
'PREFIX'
)
or
define
(
'PREFIX'
,
'ROMENS_NEW_'
);
require
__DIR__
.
'/../../vendor/autoload.php'
;
require
__DIR__
.
'/../../vendor/yiisoft/yii2/Yii.php'
;
require
__DIR__
.
'/../../common/config/bootstrap.php'
;
require
__DIR__
.
'/../config/bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
__DIR__
.
'/../../common/config/main.php'
,
require
__DIR__
.
'/../../common/config/main-local.php'
,
require
__DIR__
.
'/../config/main.php'
,
require
__DIR__
.
'/../config/main-local.php'
);
(
new
yii\web\Application
(
$config
))
->
run
();
frontend/web/index.php
0 → 100644
View file @
c9704bd4
<?php
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
require
__DIR__
.
'/../../vendor/autoload.php'
;
require
__DIR__
.
'/../../vendor/yiisoft/yii2/Yii.php'
;
require
__DIR__
.
'/../../common/config/bootstrap.php'
;
require
__DIR__
.
'/../config/bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
__DIR__
.
'/../../common/config/main.php'
,
require
__DIR__
.
'/../../common/config/main-local.php'
,
require
__DIR__
.
'/../config/main.php'
,
require
__DIR__
.
'/../config/main-local.php'
);
(
new
yii\web\Application
(
$config
))
->
run
();
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