YNH_DEFAULT_PHP_VERSION is now readonly

This commit is contained in:
Kay0u 2020-04-20 23:50:42 +02:00
parent 7cc04f5171
commit 23a083b087
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

View file

@ -1,6 +1,6 @@
#!/bin/bash
YNH_DEFAULT_PHP_VERSION=7.0
readonly YNH_DEFAULT_PHP_VERSION=7.0
# Declare the actual php version to use.
# A packager willing to use another version of php can override the variable into its _common.sh.
YNH_PHP_VERSION=${YNH_PHP_VERSION:-$YNH_DEFAULT_PHP_VERSION}