fix: add support for Vegvisir 3.5.0

This commit is contained in:
Victor Westerlund 2026-01-17 21:53:02 +01:00
parent 3af40f71be
commit ab8da6e50f
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -50,7 +50,7 @@ install_vegvisir() {
# Update submodules
git submodule update --init --recursive
fi
# Install dependencies with composer
(cd vegvisir && composer install --classmap-authoritative)
@ -99,7 +99,7 @@ configure_vegvisir() {
"public_path = 'public/'"
"rfc_4288_url = 'http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types'"
)
for line in "${config[@]}" ; do
echo "${line}" >> vegvisir/.env.ini
done
@ -122,7 +122,7 @@ generate_example_website() {
"<body>"
" <?php // Replace this comment with elements you wish to keep loaded between pages ?>"
" "
" <vv-shell></vv-shell>"
" <?= VV::shell() ?>"
" "
" <?= VV::init() ?>"
"</body>"
@ -236,4 +236,4 @@ if [[ "$choice" == "y" || "$choice" == "Y" ]] ; then
main
else
echo "Installation aborted."
fi
fi