You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contao:install-web-dir does not report the actual path it has worked on, but a hardcoded value instead. It has been hardcoded in all the 4.x branches, it was just renamed from web to public in #3084. Which is why I caught it – because I updated existing project that already uses web.
The command correctly detects web if it exists, or creates public if it doesn't, but it always reports back the latter:
Added the public/.htaccess file.
Added the public/preview.php file.
Added the public/app.php file.
Added the public/index.php file.
This gives the first impression, that something is broken, but it's not 😄.
Affected version(s)
4.x
Description
contao:install-web-dir
does not report the actual path it has worked on, but a hardcoded value instead. It has been hardcoded in all the4.x
branches, it was just renamed fromweb
topublic
in #3084. Which is why I caught it – because I updated existing project that already usesweb
.The command correctly detects
web
if it exists, or createspublic
if it doesn't, but it always reports back the latter:This gives the first impression, that something is broken, but it's not 😄.
Slack thread: https://contao.slack.com/archives/CK9GW3ARL/p1641131560142600
Also, the command never receives a configured
%contao.web_dir%
when executed directly on CLI, but that's probably other can of worms.The text was updated successfully, but these errors were encountered: