Fix config.php check