mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Only load modules once
This commit is contained in:
parent
cfcc69946c
commit
e4f3307c8b
@ -295,6 +295,8 @@ for EXT in $PHPMODULES; do
|
||||
PHPMODULESLC="$PHPMODULESLC `echo "$EXT" | /usr/bin/tr '[:upper:]' '[:lower:]'`"
|
||||
done
|
||||
|
||||
PHPMODULES=`echo $PHPMODULES | sort -u`
|
||||
|
||||
# Check loaded modules and remove anything that did not load correctly
|
||||
LOADED_MODULES=`/usr/local/bin/php -m | /usr/bin/tr '[:upper:]' '[:lower:]' 2>/dev/null | /usr/bin/grep -v "\["`
|
||||
for EXT in $PHPMODULESLC; do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user