summaryrefslogtreecommitdiff
path: root/www/mod_php3
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3')
-rw-r--r--www/mod_php3/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index 25f96fef3ec5..f174f6dade6b 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -21,7 +21,13 @@ NO_PACKAGE= "Too many questions"
#
# Currently we support two db's: msql and mysql
+# When running in batch mode default to mysql support, because it's
+# a free and very popular database !
#
+.if defined(BATCH)
+PHP_DBTYPE=mysql
+.endif
+
.if !defined(PHP_DBTYPE)
pre-fetch:
@ ${ECHO}