mirror of
https://codeberg.org/vegvisir/install.git
synced 2026-02-26 02:32:00 +01:00
fix: add support for Vegvisir 3.5.0 (#11)
Vegvisir 3.5.0 introduced a new static method for echoing the page shell element Reviewed-on: https://codeberg.org/vegvisir/install/pulls/11
This commit is contained in:
parent
3af40f71be
commit
a142debfa9
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue