$sperren, $root.'/vendor/.htaccess' => $sperren, $root.'/.htaccess' => $stamm] as $ziel => $vorlage) { if (!is_file($ziel) && is_dir(\dirname($ziel)) && is_file($vorlage)) { @copy($vorlage, $ziel); } } } /** Für Tests: die nächste Anfrage prüft wieder. */ public static function reset(): void { self::$checked = false; } }