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
f9b06e1e
Commit
f9b06e1e
authored
May 16, 2013
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unknown property "yii\console\controllers\AssetController::publishOptions" error has been fixed.
parent
98b3cc07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AssetControllerTest.php
...nit/framework/console/controllers/AssetControllerTest.php
+2
-2
AssetController.php
yii/console/controllers/AssetController.php
+1
-1
No files found.
tests/unit/framework/console/controllers/AssetControllerTest.php
View file @
f9b06e1e
...
...
@@ -125,9 +125,9 @@ class AssetControllerTest extends TestCase
'js'
=>
array
(
'js/test.js'
,
),
'depends'
=>
array
(
/*
'depends' => array(
'yii',
),
),
*/
),
);
return
$bundles
;
...
...
yii/console/controllers/AssetController.php
View file @
f9b06e1e
...
...
@@ -41,7 +41,7 @@ class AssetController extends Controller
$this
->
loadConfiguration
(
$configFile
);
$bundles
=
$this
->
loadBundles
(
$this
->
bundles
,
$this
->
extensions
);
$targets
=
$this
->
loadTargets
(
$this
->
targets
,
$bundles
);
$this
->
publishBundles
(
$bundles
,
$this
->
publishOptions
);
$this
->
publishBundles
(
$bundles
,
$this
->
assetManager
);
$timestamp
=
time
();
foreach
(
$targets
as
$target
)
{
if
(
!
empty
(
$target
->
js
))
{
...
...
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