remove redundent strlen call from settings.php