From 50ba64555df730e3fee9f38dc819a0bd9d6a9aa4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 24 Jan 2011 12:18:39 +0300 Subject: [PATCH] remove DB_PORT from the list of required config keywords (closes #310) --- sanity_config.php | 4 ++-- utils/regen_config_checks.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sanity_config.php b/sanity_config.php index 6410c5407..5dc2178a2 100644 --- a/sanity_config.php +++ b/sanity_config.php @@ -1,3 +1,3 @@ - +$requred_defines = array( ); ?> diff --git a/utils/regen_config_checks.sh b/utils/regen_config_checks.sh index 78f2dbfba..9e7737858 100755 --- a/utils/regen_config_checks.sh +++ b/utils/regen_config_checks.sh @@ -10,7 +10,7 @@ echo ");" >> $DESTINATION echo -n "\$requred_defines = array( " >> $DESTINATION -grep define\( config.php-dist | awk -F\' '{ print "*" $2 "*," }' | xargs echo -n | sed -e s/,$// -e s/*/\'/g >> $DESTINATION +grep define\( config.php-dist | awk -F\' '{ print "*" $2 "*," }' | xargs echo -n | grep -v DB_PORT | sed -e s/,$// -e s/*/\'/g >> $DESTINATION echo "); ?>" >> $DESTINATION