Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web
/
yoho-live
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wuxiao
2016-11-14 14:11:40 +0800
Commit
aafd51c44940cc14c0e0ce0527a616b041a74dc6
1 parent
e01bc290
添加error_reporting(E_ALL ^ E_NOTICE);
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
backend/web/index.php
soa/web/index.php
yii
backend/web/index.php
View file @
aafd51c
<?php
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
false
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'prod'
);
error_reporting
(
E_ALL
^
E_NOTICE
);
require
(
__DIR__
.
'/../../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../vendor/yiisoft/yii2/Yii.php'
);
...
...
soa/web/index.php
View file @
aafd51c
<?php
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
false
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'prod'
);
error_reporting
(
E_ALL
^
E_NOTICE
);
require
(
__DIR__
.
'/../../vendor/autoload.php'
);
require
(
__DIR__
.
'/../../vendor/yiisoft/yii2/Yii.php'
);
...
...
yii
View file @
aafd51c
...
...
@@ -10,6 +10,7 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
false
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'prod'
);
error_reporting
(
E_ALL
^
E_NOTICE
);
require
(
__DIR__
.
'/vendor/autoload.php'
);
require
(
__DIR__
.
'/vendor/yiisoft/yii2/Yii.php'
);
...
...
Please
register
or
login
to post a comment