Skip to content

Commit 8a36375

Browse files
committed
2 parents 78de6c0 + 6a9fa13 commit 8a36375

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install/usr/sbin/php-ext

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/command/with-contenv /bin/bash
22
source /assets/functions/00-container
33

4-
alias get_php_env_plugins_enabled="set -o posix; set | sort | grep PHP_ENABLE_ | grep -i TRUE | cut -d _ -f 3- | cut -d = -f 1 | tr A-Z a-z"
4+
get_php_env_plugins_enabled() {
5+
set -o posix; set | sort | grep PHP_ENABLE_ | grep -i TRUE | cut -d _ -f 3- | cut -d = -f 1 | tr A-Z a-z
6+
}
7+
58
php_major_version="$(echo ${PHP_BASE} | cut -c 1-1)"
69
os=$(cat /etc/os-release |grep ^ID= | cut -d = -f2)
710

0 commit comments

Comments
 (0)