From 3937f1493b3cb89e06d66887b0e70924daffc53b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 23 Dec 2008 00:04:45 +0000 Subject: Do not return empty rows when probing loaded php modules --- etc/rc.php_ini_setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc.php_ini_setup') diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index a3317db..49699e2 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -1,7 +1,7 @@ #!/bin/sh # # rc.php_ini_setup -# Copyright (C)2008 Scott K Ullrich +# Copyright (C)2008 Scott K Ullrich # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -62,7 +62,7 @@ PHPMODULES="apc \ zlib" # Get a loaded module list in the stock php -LOADED_MODULES=`php -m | grep -v "\["` +LOADED_MODULES=`php -m | grep -v "\[" | grep "[a-z][A-Z]"` # Populate a dummy php.ini to avoid # the file being clobbered and the firewall -- cgit v1.1