↓ | {$_REQUEST['dm']}\n\n";
foreach($flc as $fn) {
$fp="$vhroot{$_REQUEST['dc']}/$fn"; if (!is_dir($fp)) {
$inputype=0;
$sha=sha1_file($fp);
if (!isset($shasm[$sha])) {
echo tr_tag() ." | $fn";
if (isset($ffm[$fn])) {
echo " | $fn | different\n"; $ffm[$fn]=1; change_line($fn,"");
} else {
echo "$miss_td | \n";
}
} else foreach($shasm[$sha] as $fnothr) {
echo tr_tag() ." | $fn | $fnothr | ";
if ($fn==$fnothr) { echo "identical\n"; }
else { echo "same\n"; change_line($fnothr,$fn); }
unset($ffm[$fnothr]);
}
}
}
foreach($ffm as $fnothr => $status) {
if (!$status) echo " |