Move YNH_DEFAULT_PHP_VERSION before the comment for YNH_DEFAULT_PHP_VERSION

This commit is contained in:
Maniack Crudelis 2020-04-13 10:45:42 +02:00 committed by GitHub
parent 71743d211b
commit 4b3f7a1ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
#!/bin/bash
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_DEFAULT_PHP_VERSION=7.0
YNH_PHP_VERSION=${YNH_PHP_VERSION:-YNH_DEFAULT_PHP_VERSION}
# Create a dedicated php-fpm config