diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-21 18:44:35 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-21 18:44:35 -0500 |
commit | 7f16265af9153cc6bad097379061f7996c9a6171 (patch) | |
tree | 3c1ce22a46e4d03c612038622052dd995c47b24c /etc/rc.php_ini_setup | |
parent | fcdf949220cdbd61bfd9a4ed12967ec291b45073 (diff) | |
download | pfsense-7f16265af9153cc6bad097379061f7996c9a6171.zip pfsense-7f16265af9153cc6bad097379061f7996c9a6171.tar.gz |
Ensure dynamodules directory exists
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-x | etc/rc.php_ini_setup | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index b3efd52..0a6197d 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -138,6 +138,12 @@ extension_dir=${EXTENSIONSDIR} ; Extensions EOF +# Ensure directory exists +if [ ! -d /etc/php_dynamodules ]; then + mkdir /etc/php_dynamodules +fi + +# Read in dynamodules if [ -d /etc/php_dynamodules ]; then DYNA_MODULES=`ls /etc/php_dynamodules/` PHPMODULES="$PHPMODULES $DYNA_MODULES" |