diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-22 21:36:09 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-22 21:36:09 -0400 |
commit | 90108d9044037e3aa62e96c57fc2f2be702e0095 (patch) | |
tree | bc671a48f03fb88d0f250b2f14a8023902b53f5e /etc | |
parent | 52e65de17fe62ab448e73ba10347cba7d2fcdb74 (diff) | |
download | pfsense-90108d9044037e3aa62e96c57fc2f2be702e0095.zip pfsense-90108d9044037e3aa62e96c57fc2f2be702e0095.tar.gz |
Fix a rather annoying bug where case would cause a module to not be detected as being loaded such as SQLite
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.php_ini_setup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index ef24d54..9fd6b39 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -113,6 +113,7 @@ PHPMODULES="apc \ # Page compression zlib \ # SQLlite + simplexml \ spl \ pdo \ sqlite \ @@ -259,7 +260,7 @@ if [ -f /var/run/php_modules_load_errors.txt ]; then fi # Check loaded modules and remove anything that did not load correctly -LOADED_MODULES=`php -m 2>/dev/null | grep -v "\["` +LOADED_MODULES=`php -m | tr '[:upper:]' '[:lower:]' 2>/dev/null | grep -v "\["` for EXT in $PHPMODULES; do SHOULDREMOVE="true" for LM in $LOADED_MODULES; do |