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