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
0013b608
Commit
0013b608
authored
Mar 13, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #2734: `FileCache::keyPrefix` defaults to empty string now
parent
2e07ca52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
FileCache.php
framework/caching/FileCache.php
+8
-0
No files found.
framework/CHANGELOG.md
View file @
0013b608
...
@@ -204,6 +204,7 @@ Yii Framework 2 Change Log
...
@@ -204,6 +204,7 @@ Yii Framework 2 Change Log
-
Removed
`yii\web\Controller::createUrl`
and
`yii\web\Controller::createAbsoluteUrl`
, use
`yii\helpers\Url::toRoute`
instead.
-
Removed
`yii\web\Controller::createUrl`
and
`yii\web\Controller::createAbsoluteUrl`
, use
`yii\helpers\Url::toRoute`
instead.
-
Removed
`yii\web\Controller::getCanonicalUrl`
, use
`yii\helpers\Url::canonical`
instead.
-
Removed
`yii\web\Controller::getCanonicalUrl`
, use
`yii\helpers\Url::canonical`
instead.
-
Chg #2691: Null parameters will not be included in the generated URLs by
`UrlManager`
(gonimar, qiangxue)
-
Chg #2691: Null parameters will not be included in the generated URLs by
`UrlManager`
(gonimar, qiangxue)
-
Chg #2734:
`FileCache::keyPrefix`
defaults to empty string now (qiangxue)
-
Chg: Renamed
`yii\jui\Widget::clientEventsMap`
to
`clientEventMap`
(qiangxue)
-
Chg: Renamed
`yii\jui\Widget::clientEventsMap`
to
`clientEventMap`
(qiangxue)
-
Chg: Renamed
`ActiveRecord::getPopulatedRelations()`
to
`getRelatedRecords()`
(qiangxue)
-
Chg: Renamed
`ActiveRecord::getPopulatedRelations()`
to
`getRelatedRecords()`
(qiangxue)
-
Chg: Renamed
`attributeName`
and
`className`
to
`targetAttribute`
and
`targetClass`
for
`UniqueValidator`
and
`ExistValidator`
(qiangxue)
-
Chg: Renamed
`attributeName`
and
`className`
to
`targetAttribute`
and
`targetClass`
for
`UniqueValidator`
and
`ExistValidator`
(qiangxue)
...
...
framework/caching/FileCache.php
View file @
0013b608
...
@@ -25,6 +25,14 @@ use yii\helpers\FileHelper;
...
@@ -25,6 +25,14 @@ use yii\helpers\FileHelper;
class
FileCache
extends
Cache
class
FileCache
extends
Cache
{
{
/**
/**
* @var string a string prefixed to every cache key. This is needed when you store
* cache data under the same [[cachePath]] for different applications to avoid
* conflict.
*
* To ensure interoperability, only alphanumeric characters should be used.
*/
public
$keyPrefix
=
''
;
/**
* @var string the directory to store cache files. You may use path alias here.
* @var string the directory to store cache files. You may use path alias here.
* If not set, it will use the "cache" subdirectory under the application runtime path.
* If not set, it will use the "cache" subdirectory under the application runtime path.
*/
*/
...
...
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