Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
b6a641b7
Commit
b6a641b7
authored
Jun 16, 2015
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed fixed asset bundles
parent
e8ff12a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
assets-prod.php
src/config/assets-prod.php
+3
-3
main.php
src/config/main.php
+1
-0
No files found.
src/config/assets-prod.php
View file @
b6a641b7
...
...
@@ -20,7 +20,7 @@ return [
'targets'
=>
[
'frontend'
=>
[
'class'
=>
'yii\web\AssetBundle'
,
'basePath'
=>
'@app/web/assets-prod'
,
'basePath'
=>
'@app/
../
web/assets-prod'
,
'baseUrl'
=>
'@web/assets-prod'
,
'js'
=>
'js/frontend-{hash}.js'
,
'css'
=>
'css/frontend-{hash}.css'
,
...
...
@@ -31,7 +31,7 @@ return [
],
'backend'
=>
[
'class'
=>
'yii\web\AssetBundle'
,
'basePath'
=>
'@app/web/assets-prod'
,
'basePath'
=>
'@app/
../
web/assets-prod'
,
'baseUrl'
=>
'@web/assets-prod'
,
'js'
=>
'js/backend-{hash}.js'
,
'css'
=>
'css/backend-{hash}.css'
,
...
...
@@ -43,7 +43,7 @@ return [
],
'all'
=>
[
'class'
=>
'yii\web\AssetBundle'
,
'basePath'
=>
'@app/web/assets-prod'
,
'basePath'
=>
'@app/
../
web/assets-prod'
,
'baseUrl'
=>
'@web/assets-prod'
,
'js'
=>
'js/all-{hash}.js'
,
'css'
=>
'css/all-{hash}.css'
,
...
...
src/config/main.php
View file @
b6a641b7
...
...
@@ -14,6 +14,7 @@ $common = [
'assetManager'
=>
[
'dirMode'
=>
YII_ENV_PROD
?
0777
:
null
,
// Note: For using mounted volumes or shared folders
'bundles'
=>
YII_ENV_PROD
?
require
(
__DIR__
.
'/assets-gen/prod.php'
)
:
null
,
'basePath'
=>
'@root'
,
],
'authManager'
=>
[
'class'
=>
'yii\rbac\DbManager'
,
...
...
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