I’m using the Basic Template and it has /web as public directory. On my hosting I have /www directory as public (unfortunatelly I can’t rename it or create symlink).
How I can rename /web directory to /www in my app?
I’m using the Basic Template and it has /web as public directory. On my hosting I have /www directory as public (unfortunatelly I can’t rename it or create symlink).
How I can rename /web directory to /www in my app?
Just rename it.
I was going to suggest that, but then I noticed this in the composer file:
"extra": {
"writable": [
"runtime",
"web/assets"
],
"executable": [
"yii"
]
}
I’ve not delved into composer yet, but would this (or anything else) need updating?
And that’s all? That path is not using anywhere? Currently I found it only here:
\composer.json
"writable": [
"runtime",
"web/assets"
],
Upd: Keith asked earlier
Yes, composer.json should be updated as well. Dir name is not used explicitly in framework/app code.