add: config error if outDir
is inside publicDir
#8152
Merged
outDir
is inside publicDir
#8152