diff --git a/Yuba.php b/Yuba.php index 90de0f1..1b23c97 100755 --- a/Yuba.php +++ b/Yuba.php @@ -1100,7 +1100,7 @@ foreach ($files as $splFileInfo) { unset($fkind); if ($type == "file") { - $fkind = trim(shell_exec("file -b -p ".$shellpath." | cut -f1 -d,")); + $fkind = trim(shell_exec("export LC_ALL=C; file -b -p ".$shellpath." | cut -f1 -d,")); $stmt->BindValue(":fkind",@$fkind); } @@ -1188,7 +1188,7 @@ foreach ($files as $splFileInfo) { $message[] = "ctime"; } - if (count($message)) { echo msg("FILE = ".$filename."; CHANGE = ".implode(", ", $message).""); } + if (count($message)) { echo msg(" CHANGE = ".implode(", ", $message).""); } }