Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
console
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tufengqi
console
Commits
59aaf877
Commit
59aaf877
authored
Aug 29, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f7268bd9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
VersionApp.php
VersionApp.php
+5
-1
market-swoole.php
thrift_impl/market/market-swoole.php
+0
-1
zhaobi-swoole.php
user_site/zhaobi/zhaobi-swoole.php
+0
-1
No files found.
VersionApp.php
View file @
59aaf877
...
...
@@ -76,7 +76,11 @@ defined('YII_DEBUG') or define('YII_DEBUG', true);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
$GLOBALS
[
'GLOBAL_VERSION_VALUE'
]
=
$version_val
;
$GLOBALS
[
'GLOBAL_VERSION_VALUE_NO_PTEFIX'
]
=
$version_val_no_prefix
;
$GLOBALS
[
'GLOBAL_YII_SYSTEM_APP'
]
=
$base_path
.
'vendor/yii2_33cn/'
;
if
(
file_exists
(
$base_path
.
'vendor/yii2_33cn_dev/'
)){
$GLOBALS
[
'GLOBAL_YII_SYSTEM_APP'
]
=
$base_path
.
'vendor/yii2_33cn_dev/'
;
}
else
{
$GLOBALS
[
'GLOBAL_YII_SYSTEM_APP'
]
=
$base_path
.
'vendor/yii2_33cn/'
;
}
$GLOBALS
[
'GLOBAL_YII_USER_APP'
]
=
$base_path
.
'application/'
;
require
$GLOBAL_YII_SYSTEM_APP
.
'vendor/autoload.php'
;
require
$base_path
.
'vendor/autoload.php'
;
...
...
thrift_impl/market/market-swoole.php
View file @
59aaf877
...
...
@@ -14,7 +14,6 @@ require_once $app_root_path . '/vendor/yii2_33cn/vendor/autoload.php';
require_once
$app_root_path
.
'/vendor/foge/swoole-yii2/Yii.php'
;
require_once
$app_package_path
.
'/LoadConfig.php'
;
require_once
$app_root_path
.
'/vendor/autoload.php'
;
require_once
$app_root_path
.
'/vendor/swoft_33cn/vendor/autoload.php'
;
require_once
__DIR__
.
'/swoole/config/define.php'
;
// init the factory of bean
\Swoft\Bean\BeanFactory
::
init
();
...
...
user_site/zhaobi/zhaobi-swoole.php
View file @
59aaf877
...
...
@@ -14,7 +14,6 @@ require_once $app_root_path . '/vendor/yii2_33cn/vendor/autoload.php';
require_once
$app_root_path
.
'/vendor/foge/swoole-yii2/Yii.php'
;
require_once
$app_package_path
.
'/LoadConfig.php'
;
require_once
$app_root_path
.
'/vendor/autoload.php'
;
require_once
$app_root_path
.
'/vendor/swoft_33cn/vendor/autoload.php'
;
require_once
__DIR__
.
'/swoole/config/define.php'
;
// init the factory of bean
\Swoft\Bean\BeanFactory
::
init
();
...
...
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