Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
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
PSDI Army
yii2
Commits
0918f32e
Commit
0918f32e
authored
Jul 14, 2011
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w
parent
fc7c1f56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
YiiBase.php
framework/base/YiiBase.php
+3
-7
yii.php
framework/yii.php
+6
-6
No files found.
framework/base/YiiBase.php
View file @
0918f32e
...
...
@@ -3,9 +3,9 @@
namespace
yii
;
/**
*
Get
s the application start timestamp.
*
This constant define
s the application start timestamp.
*/
defined
(
'YII_BEGIN_TIME'
)
or
define
(
'YII_BEGIN_TIME'
,
microtime
(
true
));
defined
(
'YII_BEGIN_TIME'
)
or
define
(
'YII_BEGIN_TIME'
,
microtime
(
true
));
/**
* This constant defines whether the application should be in debug mode or not. Defaults to false.
*/
...
...
@@ -15,7 +15,7 @@ defined('YII_DEBUG') or define('YII_DEBUG',false);
* Defaults to 0, meaning no backtrace information. If it is greater than 0,
* at most that number of call stacks will be logged. Note, only user application call stacks are considered.
*/
defined
(
'YII_TRACE_LEVEL'
)
or
define
(
'YII_TRACE_LEVEL'
,
0
);
defined
(
'YII_TRACE_LEVEL'
)
or
define
(
'YII_TRACE_LEVEL'
,
0
);
/**
* This constant defines whether exception handling should be enabled. Defaults to true.
*/
...
...
@@ -28,10 +28,6 @@ defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER',true);
* Defines the Yii framework installation path.
*/
defined
(
'YII_PATH'
)
or
define
(
'YII_PATH'
,
dirname
(
__FILE__
));
/**
* Defines the Zii library installation path.
*/
defined
(
'YII_ZII_PATH'
)
or
define
(
'YII_ZII_PATH'
,
YII_PATH
.
DIRECTORY_SEPARATOR
.
'zii'
);
/**
* YiiBase is a helper class serving common framework functionalities.
...
...
framework/yii.php
View file @
0918f32e
...
...
@@ -4,14 +4,14 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-201
1
Yii Software LLC
* @copyright Copyright © 2008-201
2
Yii Software LLC
* @license http://www.yiiframework.com/license/
* @version $Id: yii.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package
system
* @since
1
.0
* @package
yii
* @since
2
.0
*/
require
(
__DIR__
.
'/base/YiiBase.php'
);
require
(
__DIR__
.
'/base/YiiBase.php'
);
/**
* Yii is a helper class serving common framework functionalities.
...
...
@@ -22,8 +22,8 @@ require(__DIR__.'/base/YiiBase.php');
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: yii.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system
* @since
1
.0
* @since
2
.0
*/
class
Yii
extends
yii\YiiBase
class
Yii
extends
\
yii\YiiBase
{
}
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